aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/electron/ipc-api/localServer.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/electron/ipc-api/localServer.js b/src/electron/ipc-api/localServer.js
index 2f8f1020a..d12fb5708 100644
--- a/src/electron/ipc-api/localServer.js
+++ b/src/electron/ipc-api/localServer.js
@@ -1,5 +1,4 @@
1import { ipcMain, app } from 'electron'; 1import { ipcMain, app } from 'electron';
2import path from 'path';
3import net from 'net'; 2import net from 'net';
4import startServer from '../../server/start'; 3import startServer from '../../server/start';
5 4
@@ -38,7 +37,7 @@ export default (params) => {
38 console.log('Starting local server on port', port); 37 console.log('Starting local server on port', port);
39 38
40 startServer( 39 startServer(
41 path.join(app.getPath('userData'), 'server.sqlite'), 40 app.getPath('userData'),
42 port, 41 port,
43 ); 42 );
44 43