Merge pull request #59 from AAVikings/develop

url fixing
This commit is contained in:
z@tOr authored and GitHub committed 2018-11-03 14:35:09 -03:00
commit 112dadd1d7
2 files changed
+8 -4

No files matched your search

+4 -2
View File
@@ -6,6 +6,8 @@
initialize: initialize
}
const MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
let storage;
return thisObject;
@@ -524,7 +526,7 @@
const graphqlClient = require('graphql-client')
const usersModuleAPI = graphqlClient({
url: window.canvasApp.urlPrefix
url: MASTER_APP_API
});
@@ -1013,7 +1015,7 @@
const graphqlClient = require('graphql-client')
const usersModuleAPI = graphqlClient({
url: window.canvasApp.urlPrefix
url: MASTER_APP_API
});
+4 -2
View File
@@ -21,6 +21,8 @@ function newLogin() {
container.isDraggeable = false;
container.isClickeable = true;
const MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
let currentLabel;
let userAuthorization;
@@ -50,7 +52,7 @@ function newLogin() {
const apolloClient = new Apollo.lib.ApolloClient({
networkInterface: Apollo.lib.createNetworkInterface({
uri: window.canvasApp.urlPrefix,
uri: MASTER_APP_API,
transportBatching: true,
}),
connectToDevTools: true,
@@ -102,7 +104,7 @@ function newLogin() {
}
const networkInterfaceTeams = Apollo.lib.createNetworkInterface({
uri: window.canvasApp.urlPrefix
uri: MASTER_APP_API
});
networkInterfaceTeams.use([{