Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 034d90c

Browse files
committed
added extra check when setting remote ports
1 parent 591c119 commit 034d90c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ app.serverConfigs.fetch().done(() => {
186186
} else {
187187
app.serverConfigs.setActive(defaultConfig.id);
188188
}
189-
} else if (remote.getGlobal('launched_from_installer')) {
189+
} else if (remote.getGlobal('launched_from_installer') && activeServer.get('default')) {
190190
activeServer.save({
191191
'rest_api_port': remote.getGlobal('restAPIPort'),
192192
'api_socket_port': remote.getGlobal('apiSocketPort'),

0 commit comments

Comments
 (0)