mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-11 19:58:05 -04:00
added http-namespace flag
This commit is contained in:
@@ -37,7 +37,8 @@ type Asset struct {
|
||||
|
||||
// Phoenix defines the available phoenic configuration.
|
||||
type Phoenix struct {
|
||||
Path string
|
||||
Path string
|
||||
Namespace string
|
||||
}
|
||||
|
||||
// Config combines all available configuration parts.
|
||||
|
||||
@@ -141,5 +141,12 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVar: "PHOENIX_WEB_CONFIG",
|
||||
Destination: &cfg.Phoenix.Path,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "http-namespace",
|
||||
Value: "com.owncloud",
|
||||
Usage: "Set the base namespace for the http namespace",
|
||||
EnvVar: "PHOENIX_NAMESPACE",
|
||||
Destination: &cfg.Phoenix.Namespace,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user