Mercurial > gemma
changeset 4778:7a3ace19dc56
window title configurable
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 21 Oct 2019 15:17:14 +0200 |
parents | 702f06d827a8 |
children | eb310f7e53b0 |
files | client/.env client/public/index.html |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/.env Mon Oct 21 13:33:15 2019 +0200 +++ b/client/.env Mon Oct 21 15:17:14 2019 +0200 @@ -1,5 +1,6 @@ #Name of the application, e.g. displayed at login time VUE_APP_TITLE=Waterway Monitoring system +VUE_APP_WINDOWTITLE= #Backend URL VUE_APP_API_URL=/api/ @@ -14,4 +15,4 @@ VUE_APP_SILENCE_TRANSLATIONWARNINGS = #Url of user manual -VUE_APP_USER_MANUAL_URL= \ No newline at end of file +VUE_APP_USER_MANUAL_URL=
--- a/client/public/index.html Mon Oct 21 13:33:15 2019 +0200 +++ b/client/public/index.html Mon Oct 21 15:17:14 2019 +0200 @@ -16,7 +16,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <link rel="icon" href="<%= BASE_URL %>favicon.ico" /> - <title>gemmajs</title> + <title><%= process.env.VUE_APP_WINDOWTITLE || VUE_APP_TITLE %></title> <style> html { height: 100%;