This commit is contained in:
jdl
2025-01-04 13:36:55 +01:00
parent 2549e1ae08
commit 36172bf310
4 changed files with 13 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ func Main() {
conf := Config{}
flag.StringVar(&conf.RootDir, "root-dir", "", "[REQUIRED] Root directory.")
flag.StringVar(&conf.ListenAddr, "listen", "", "[REQUIRED] Listen address.")
flag.BoolVar(&conf.Secure, "secure", false, "Use secure cookies.")
flag.BoolVar(&conf.Insecure, "insecure", false, "Don't use secure cookies.")
flag.Parse()