mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-23 04:21:18 +00:00
Fix: There is no way to specify relative paths
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
d92e278449
commit
491768b093
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ Usage of mondash:
|
||||||
--frontend-dir string Directory to serve frontend assets from (default "./frontend")
|
--frontend-dir string Directory to serve frontend assets from (default "./frontend")
|
||||||
--listen string Address to listen on (default ":3000")
|
--listen string Address to listen on (default ":3000")
|
||||||
--log-level string Set log level (debug, info, warning, error) (default "info")
|
--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
|
--version Prints current version and exits
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
2
main.go
2
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)"`
|
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" 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"`
|
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"`
|
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)"`
|
LogLevel string `flag:"log-level" default:"info" description:"Set log level (debug, info, warning, error)"`
|
||||||
|
|
Loading…
Reference in a new issue