fix(desktop): bind to 0.0.0.0 and silence auto-updater 404

This commit is contained in:
CREDO23 2026-03-24 18:40:07 +02:00
parent a1119c401f
commit f783b00d2e
2 changed files with 3 additions and 3 deletions

View file

@ -26,8 +26,8 @@ export function setupAutoUpdater(): void {
});
autoUpdater.on('error', (err) => {
console.error('Auto-updater error:', err);
console.log('Auto-updater: update check skipped —', err.message?.split('\n')[0]);
});
autoUpdater.checkForUpdates();
autoUpdater.checkForUpdates().catch(() => {});
}

View file

@ -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);