mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-23 13:30:14 -05:00
added http-namespace to the flagset
This commit is contained in:
@@ -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: "/",
|
||||
|
||||
Reference in New Issue
Block a user