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