Tweak build settings

This commit is contained in:
Ramon Wenger 2018-08-09 10:22:41 +02:00
parent 2eb9ab9e4d
commit 071f3be43f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module.exports = {
apollo: {
clientConfigs: {
default: {
httpEndpoint: process.env.NODE_ENV !== 'production' ? 'http://localhost:8000/api/graphql/' : '/api/graphql/',
httpEndpoint: 'http://localhost:8000/api/graphql/',
httpLinkOptions: {
credentials: 'same-origin'
},