added http-namespace to the flagset

This commit is contained in:
A.Unger
2019-12-24 11:47:52 +01:00
parent 23ab0db581
commit cd8ca3b63d

View File

@@ -120,6 +120,13 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVar: "OCS_HTTP_ADDR",
Destination: &cfg.HTTP.Addr,
},
&cli.StringFlag{
Name: "http-namespace",
Value: "com.owncloud.web",
Usage: "Set the base namespace for the http namespace",
EnvVar: "OCS_NAMESPACE",
Destination: &cfg.HTTP.Namespace,
},
&cli.StringFlag{
Name: "http-root",
Value: "/",