mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
fix(desktop): read HOSTED_FRONTEND_URL from process.env before .env file
This commit is contained in:
parent
70712f21db
commit
d4ef79375b
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ async function buildElectron() {
|
|||
minify: false,
|
||||
define: {
|
||||
'process.env.HOSTED_FRONTEND_URL': JSON.stringify(
|
||||
desktopEnv.HOSTED_FRONTEND_URL || 'https://surfsense.net'
|
||||
process.env.HOSTED_FRONTEND_URL || desktopEnv.HOSTED_FRONTEND_URL || 'https://surfsense.net'
|
||||
),
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue