remove duplicate STORAGE_FRONTEND_PUBLIC_URL

This commit is contained in:
Willy Kloucek
2020-12-11 16:24:39 +01:00
parent ee7b3213b3
commit 151d991b1d

View File

@@ -139,13 +139,6 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
Destination: &cfg.Reva.StorageRegistry.HomeProvider,
},
&cli.StringFlag{
Name: "public-url",
Value: "https://localhost:9200",
Usage: "URL to use for the storage service",
EnvVars: []string{"STORAGE_FRONTEND_PUBLIC_URL"},
Destination: &cfg.Reva.Frontend.PublicURL,
},
&cli.StringFlag{
Name: "datagateway-url",
Value: "https://localhost:9200/data",