Revert "remove duplicate STORAGE_FRONTEND_PUBLIC_URL"
This reverts commit 21723b8040364a877823653e6cdefdf3fc723552.
This commit is contained in:
@@ -139,6 +139,13 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
|||||||
Destination: &cfg.Reva.StorageRegistry.HomeProvider,
|
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{
|
&cli.StringFlag{
|
||||||
Name: "datagateway-url",
|
Name: "datagateway-url",
|
||||||
Value: "https://localhost:9200/data",
|
Value: "https://localhost:9200/data",
|
||||||
|
|||||||
Reference in New Issue
Block a user