Fix refresh bug

This misconfiguration doesn't produce a bug without the docker
environment. Better to use docker also for development. Let's make it the
single source of truth.
This commit is contained in:
Robert Schäfer 2018-12-08 23:15:22 +01:00
parent 826d987fcd
commit 2fcbdcb436

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: {