Merge pull request #80 from Human-Connection/fix_refresh_bug

Fix refresh bug
This commit is contained in:
Grzegorz Leoniec 2018-12-08 23:38:36 +01:00 committed by GitHub
commit 2284e88f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
export default function({ app }) {
const backendUrl = process.BACKEND_URL || 'http://localhost:4000'
const backendUrl = process.env.BACKEND_URL || 'http://localhost:4000'
return {
httpEndpoint: process.server ? backendUrl : '/api',
httpLinkOptions: {