fix(joyent-cp-frontend): use a dynamic graphql hostname
This commit is contained in:
parent
39b6ca3a0d
commit
df5d8655f9
@ -16,7 +16,7 @@ export const client = new ApolloClient({
|
|||||||
return `${o.__typename}:${id}`;
|
return `${o.__typename}:${id}`;
|
||||||
},
|
},
|
||||||
networkInterface: createNetworkInterface({
|
networkInterface: createNetworkInterface({
|
||||||
uri: 'http://0.0.0.0:3000/graphql'
|
uri: `http://${window.location.hostname}:3000/graphql`
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user