reducing places for the URL
This commit is contained in:
1 parent
c3ccf0c5c8
commit
2c1fcbdbe8
2 files changed
+4
-7
No files matched your search
@@ -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
@@ -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([{
|
||||
|
||||
Reference in new issue
Block a user