reducing places for the URL

This commit is contained in:
mati108@gmail.com committed 2018-11-03 13:05:06 -03:00
1 parent c3ccf0c5c8
commit 2c1fcbdbe8
2 files changed
+4 -7

No files matched your search

+2 -2
View File
@@ -524,7 +524,7 @@
const graphqlClient = require('graphql-client')
const usersModuleAPI = graphqlClient({
url: window.MASTER_APP_API
url: window.canvasApp.urlPrefix
});
@@ -1013,7 +1013,7 @@
const graphqlClient = require('graphql-client')
const usersModuleAPI = graphqlClient({
url: window.MASTER_APP_API
url: window.canvasApp.urlPrefix
});
+2 -5
View File
@@ -21,9 +21,6 @@ function newLogin() {
container.isDraggeable = false;
container.isClickeable = true;
//window.MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
window.MASTER_APP_API = 'http://localhost:4100/graphql';
let currentLabel;
let userAuthorization;
@@ -53,7 +50,7 @@ function newLogin() {
const apolloClient = new Apollo.lib.ApolloClient({
networkInterface: Apollo.lib.createNetworkInterface({
uri: window.MASTER_APP_API,
uri: window.canvasApp.urlPrefix,
transportBatching: true,
}),
connectToDevTools: true,
@@ -105,7 +102,7 @@ function newLogin() {
}
const networkInterfaceTeams = Apollo.lib.createNetworkInterface({
uri: window.MASTER_APP_API
uri: window.canvasApp.urlPrefix
});
networkInterfaceTeams.use([{