Mercurial > gemma
changeset 394:f24ed1d570c7
server: add default value for serving "web".
* Add th default value './web' so that the current directory
is not served by accident.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 13 Aug 2018 17:38:24 +0200 |
parents | d5d54c00da58 |
children | 272ed64a5053 |
files | config/config.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/config/config.go Mon Aug 13 17:36:16 2018 +0200 +++ b/config/config.go Mon Aug 13 17:38:24 2018 +0200 @@ -92,7 +92,7 @@ strP("sessions", "s", "", "path to the sessions file") - strP("web", "w", "", "path to the web files") + strP("web", "w", "./web", "path to the web files") strP("host", "o", "localhost", "host of the web app") uiP("port", "p", 8000, "port of the web app")