1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-22 12:01:19 +00:00

Fix: There is no way to specify relative paths

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-05-25 00:08:04 +02:00
parent d92e278449
commit 491768b093
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ Usage of mondash:
--frontend-dir string Directory to serve frontend assets from (default "./frontend")
--listen string Address to listen on (default ":3000")
--log-level string Set log level (debug, info, warning, error) (default "info")
--storage string Storage engine to use (default "file:///./data")
--storage string Storage engine to use (default "file:///data")
--version Prints current version and exits
```

View file

@ -21,7 +21,7 @@ var (
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"`
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"`
Storage string `flag:"storage" default:"file:///data" description:"Storage engine to use"`
Listen string `flag:"listen" default:":3000" description:"Address to listen on"`
LogLevel string `flag:"log-level" default:"info" description:"Set log level (debug, info, warning, error)"`