diff options
author | 2019-10-23 13:21:00 +0200 | |
---|---|---|
committer | 2019-10-23 13:21:00 +0200 | |
commit | c7d6cb6c1044d319c45852997ef1d12420624b26 (patch) | |
tree | c3446e8f9a50913bba33cd210750fc897ae7c832 /src/electron/ipc-api | |
parent | Fix infinite loading screen when logging out (diff) | |
download | ferdium-app-c7d6cb6c1044d319c45852997ef1d12420624b26.tar.gz ferdium-app-c7d6cb6c1044d319c45852997ef1d12420624b26.tar.zst ferdium-app-c7d6cb6c1044d319c45852997ef1d12420624b26.zip |
Update internal server
Diffstat (limited to 'src/electron/ipc-api')
-rw-r--r-- | src/electron/ipc-api/localServer.js | 3 |
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 @@ | |||
1 | import { ipcMain, app } from 'electron'; | 1 | import { ipcMain, app } from 'electron'; |
2 | import path from 'path'; | ||
3 | import net from 'net'; | 2 | import net from 'net'; |
4 | import startServer from '../../server/start'; | 3 | import 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 | ||