server: Fix the remainder of import issues

This commit is contained in:
Elian Doran
2024-07-24 20:33:35 +03:00
parent 42f0073ab6
commit 24af2e55dc
17 changed files with 22 additions and 24 deletions

View File

@@ -69,7 +69,7 @@ async function startTrilium() {
ws.init(httpServer, sessionParser as any); // TODO: Not sure why session parser is incompatible.
if (utils.isElectron()) {
const electronRouting = await import('./routes/electron');
const electronRouting = await import('./routes/electron.js');
electronRouting.default(app);
}
}