diff client/vue.config.js @ 353:a80e589c5ade

fix: Fix broken environment variable setting In order to use .env variables with vue-cli it is necessary to adhere to the naming convention VUE_$VARNAME. See issue90.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 07 Aug 2018 13:57:31 +0200
parents 71970f03c9e8
children f6d61657b487
line wrap: on
line diff
--- a/client/vue.config.js	Tue Aug 07 13:09:34 2018 +0200
+++ b/client/vue.config.js	Tue Aug 07 13:57:31 2018 +0200
@@ -14,7 +14,7 @@
   devServer: {
     proxy: {
       "/api": {
-        target: process.env.BACKEND_API_URL,
+        target: process.env.VUE_BACKEND_API_URL,
         secure: false
       },
       "/img/*": {