diff client/.env.sample @ 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
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=