Revert "remove duplicate STORAGE_FRONTEND_PUBLIC_URL"

This reverts commit 21723b8040364a877823653e6cdefdf3fc723552.
This commit is contained in:
Willy Kloucek
2020-12-14 11:21:35 +01:00
parent 151d991b1d
commit 4ef8ae2290

View File

@@ -139,6 +139,13 @@ 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",