mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-27 07:23:10 -05:00
load config from embedded-config if running on embedded mode
This commit is contained in:
@@ -35,6 +35,10 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
|
||||
}
|
||||
|
||||
if c.String("embedded-config") != "" {
|
||||
config.Embedded(c, cfg)
|
||||
}
|
||||
|
||||
return nil
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user