Mercurial > gemma
changeset 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 | 23d4a9104b0c |
children | aa24b5691838 dc8052b60485 |
files | client/.env.sample client/vue.config.js |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/.env.sample Tue Aug 07 13:09:34 2018 +0200 +++ b/client/.env.sample Tue Aug 07 13:57:31 2018 +0200 @@ -3,7 +3,7 @@ #Backend URL VUE_APP_API_URL=/api/ -BACKEND_API_URL=http://backend.example.com:8088 +VUE_BACKEND_API_URL=http://backend.example.com:8088 #URL of secondary logo VUE_APP_SECONDARY_LOGO_URL=