You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
err=options.AddFlagsValues("aliases", []string{"-a", "--alias"}, "", nil, "set alias path, <sep><url><sep><path>, e.g. :/doc:/usr/share/doc")
30
+
serverError.CheckFatal(err)
31
+
29
32
err=options.AddFlagValues("prefixurls", "--prefix", "", nil, "serve files under URL path instead of /")
30
33
serverError.CheckFatal(err)
31
34
@@ -40,9 +43,6 @@ func init() {
40
43
err=options.AddFlagsValues("dirindexes", []string{"-I", "--dir-index"}, "GHFS_DIR_INDEX", nil, "default index page for directory")
41
44
serverError.CheckFatal(err)
42
45
43
-
err=options.AddFlagsValues("aliases", []string{"-a", "--alias"}, "", nil, "set alias path, <sep><url><sep><path>, e.g. :/doc:/usr/share/doc")
44
-
serverError.CheckFatal(err)
45
-
46
46
err=options.AddFlagValues("globalrestrictaccess", "--global-restrict-access", "GHFS_GLOBAL_RESTRICT_ACCESS", []string{}, "restrict access to all url paths from current host, with optional extra allow list")
0 commit comments