1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

small refactoring

This commit is contained in:
Andrew Simachev 2022-07-08 14:44:39 +03:00
parent f4051f45ae
commit 70331a2d91
4 changed files with 7 additions and 7 deletions

View file

@ -74,7 +74,7 @@ if (process.env.ANYTYPE_USE_SIDE_SERVER) {
function waitForLibraryAndCreateWindows () {
waitLibraryPromise.then((res) => {
global.serverAddr = Server.getAddress();
global.serverAddress = Server.getAddress();
createWindow();
}, (err) => {
electron.dialog.showErrorBox('Error: failed to run server', err.toString());