From 491768b09379ead79279e7db3eab6d15e82ef8f7 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 25 May 2019 00:08:04 +0200 Subject: [PATCH] Fix: There is no way to specify relative paths Signed-off-by: Knut Ahlers --- README.md | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c6b4c8..4c6bab7 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/main.go b/main.go index 8cc5bd0..7bf0d5a 100644 --- a/main.go +++ b/main.go @@ -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)"`