mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
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}`;
|
||||
},
|
||||
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