Removing hardcoded variables

This commit is contained in:
mati108@gmail.com committed 2019-02-10 17:30:14 -03:00
1 parent 8e97637cb7
commit 8953933938
6 files changed
+140 -137

No files matched your search

+4 -3
View File
@@ -6,7 +6,7 @@
initialize: initialize
}
const MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
let masterAppServerURL;
let storage;
@@ -16,6 +16,7 @@
const STORAGE = require('../Server/Storage');
storage = STORAGE.newStorage();
masterAppServerURL = pServerConfig.masterAppServerURL;
storage.initialize(undefined, pServerConfig);
}
@@ -526,7 +527,7 @@
const graphqlClient = require('graphql-client')
const usersModuleAPI = graphqlClient({
url: MASTER_APP_API
url: masterAppServerURL
});
@@ -1015,7 +1016,7 @@
const graphqlClient = require('graphql-client')
const usersModuleAPI = graphqlClient({
url: MASTER_APP_API
url: masterAppServerURL
});