Use the same network for the apps and the file store
This commit is contained in:
@@ -43,6 +43,14 @@ define([
|
||||
if (USE_FS_STORE && !legacy && fsStore) { return fsStore; }
|
||||
throw new Error("Store is not ready!");
|
||||
};
|
||||
var getNetwork = common.getNetwork = function () {
|
||||
if (USE_FS_STORE && fsStore) {
|
||||
if (fsStore.getProxy() && fsStore.getProxy().info) {
|
||||
return fsStore.getProxy().info.network;
|
||||
}
|
||||
}
|
||||
return;
|
||||
};
|
||||
|
||||
var getWebsocketURL = common.getWebsocketURL = function () {
|
||||
if (!Config.websocketPath) { return Config.websocketURL; }
|
||||
|
||||
Reference in New Issue
Block a user