From 2fcbdcb436dffd8d4563ffcfbcb5115a23e2b63d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Sat, 8 Dec 2018 23:15:22 +0100 Subject: [PATCH] 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. --- plugins/apollo-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/apollo-config.js b/plugins/apollo-config.js index 7d0ae7564..5c9c3632e 100644 --- a/plugins/apollo-config.js +++ b/plugins/apollo-config.js @@ -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: {