mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 05:12:38 +02:00
fix(desktop): bind to 0.0.0.0 and silence auto-updater 404
This commit is contained in:
parent
a1119c401f
commit
f783b00d2e
2 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ export async function startNextServer(): Promise<void> {
|
|||
const serverScript = path.join(standalonePath, 'server.js');
|
||||
|
||||
process.env.PORT = String(serverPort);
|
||||
process.env.HOSTNAME = 'localhost';
|
||||
process.env.HOSTNAME = '0.0.0.0';
|
||||
process.env.NODE_ENV = 'production';
|
||||
process.chdir(standalonePath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue