mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-22 12:01:19 +00:00
Add default value for BaseURL
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
d9cd13abc7
commit
8b998d4a59
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -19,7 +19,7 @@ var (
|
|||
store storage.Storage
|
||||
cfg = struct {
|
||||
APIToken string `flag:"api-token" env:"API_TOKEN" description:"API Token used for the /welcome dashboard (you can choose your own)"`
|
||||
BaseURL string `flag:"baseurl" env:"BASE_URL" description:"The Base-URL the application is running on for example https://mondash.org"`
|
||||
BaseURL string `flag:"baseurl" env:"BASE_URL" default:"http://127.0.0.1:3000" description:"The Base-URL the application is running on for example https://mondash.org"`
|
||||
FrontendDir string `flag:"frontend-dir" default:"./frontend" description:"Directory to serve frontend assets from"`
|
||||
Storage string `flag:"storage" default:"file:///data" description:"Storage engine to use"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue