StringSlice flag to String, rename EnvVar to PHOENIX_WEB_CONFIG_APPS

This commit is contained in:
A.Unger
2020-01-15 10:47:21 +01:00
parent 8b3ea40824
commit aa74f44b08

View File

@@ -170,11 +170,11 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVar: "PHOENIX_WEB_CONFIG_VERSION",
Destination: &cfg.Phoenix.Config.Version,
},
&cli.StringSliceFlag{
&cli.StringFlag{
Name: "web-config-apps",
Value: &apps,
Value: "",
Usage: "Use multiple times to provide multiple apps",
EnvVar: "PHOENIX_APPS",
EnvVar: "PHOENIX_WEB_CONFIG_APPS",
},
// TODO EXTERNAL APPS?
&cli.StringFlag{