2 files changed
+8
-4
No files matched your search
@@ -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
@@ -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([{
|
||||
|
||||
Reference in new issue
Block a user