@@ -29,7 +29,11 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
cfg.HTTP.Root = strings.TrimRight(cfg.HTTP.Root, "/")
|
||||
}
|
||||
|
||||
cfg.Web.Config.Apps = ctx.StringSlice("web-config-app")
|
||||
// StringSliceFlag doesn't support Destination
|
||||
// UPDATE Destination on string flags supported. Wait for https://github.com/urfave/cli/pull/1078 to get to micro/cli
|
||||
if len(ctx.StringSlice("web-config-app")) > 0 {
|
||||
cfg.Web.Config.Apps = ctx.StringSlice("web-config-app")
|
||||
}
|
||||
|
||||
if !cfg.Supervised {
|
||||
if err := ParseConfig(ctx, cfg); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user