Mercurial > gemma
comparison config/config.go @ 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 | 999f4f83a072 |
children | c6290776c65c |
comparison
equal
deleted
inserted
replaced
393:d5d54c00da58 | 394:f24ed1d570c7 |
---|---|
90 strP("dbname", "d", "gemma", "name of the database") | 90 strP("dbname", "d", "gemma", "name of the database") |
91 strP("dbssl", "S", "prefer", "SSL mode of the database") | 91 strP("dbssl", "S", "prefer", "SSL mode of the database") |
92 | 92 |
93 strP("sessions", "s", "", "path to the sessions file") | 93 strP("sessions", "s", "", "path to the sessions file") |
94 | 94 |
95 strP("web", "w", "", "path to the web files") | 95 strP("web", "w", "./web", "path to the web files") |
96 strP("host", "o", "localhost", "host of the web app") | 96 strP("host", "o", "localhost", "host of the web app") |
97 uiP("port", "p", 8000, "port of the web app") | 97 uiP("port", "p", 8000, "port of the web app") |
98 | 98 |
99 str("service-user", "postgres", "user to do service tasks") | 99 str("service-user", "postgres", "user to do service tasks") |
100 str("service-password", "", "password of user to do service tasks") | 100 str("service-password", "", "password of user to do service tasks") |