Tweak build settings
This commit is contained in:
parent
2eb9ab9e4d
commit
071f3be43f
|
|
@ -25,7 +25,7 @@ module.exports = {
|
||||||
apollo: {
|
apollo: {
|
||||||
clientConfigs: {
|
clientConfigs: {
|
||||||
default: {
|
default: {
|
||||||
httpEndpoint: process.env.NODE_ENV !== 'production' ? 'http://localhost:8000/api/graphql/' : '/api/graphql/',
|
httpEndpoint: 'http://localhost:8000/api/graphql/',
|
||||||
httpLinkOptions: {
|
httpLinkOptions: {
|
||||||
credentials: 'same-origin'
|
credentials: 'same-origin'
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue