server: Set up early initialization of i18n

This commit is contained in:
Elian Doran
2024-09-08 15:05:18 +03:00
parent c1010a79f9
commit b45fde2e5f
5 changed files with 39 additions and 24 deletions

View File

@@ -70,4 +70,4 @@ electron.app.on("will-quit", () => {
// this is to disable electron warning spam in the dev console (local development only)
process.env["ELECTRON_DISABLE_SECURITY_WARNINGS"] = "true";
await import('./src/www.js');
await import('./src/main.js');