mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
server: Fix the remainder of import issues
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user