Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
This commit is contained in:
1 parent
8bc8f4651f
commit
1a7c829bb4
1 file changed
+2
-2
@@ -230,14 +230,14 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
|
|||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "appprovider-apps-url",
|
Name: "appprovider-apps-url",
|
||||||
Value: flags.OverrideDefaultString(cfg.Reva.AppProvider.AppsURL, "/app/list"),
|
Value: flags.OverrideDefaultString(cfg.Reva.AppProvider.AppsURL, "/app/list"),
|
||||||
Usage: "URL where the archiver is reachable",
|
Usage: "URL where the app listing of the app provider is reachable",
|
||||||
EnvVars: []string{"STORAGE_FRONTEND_APP_PROVIDER_APPS_URL"},
|
EnvVars: []string{"STORAGE_FRONTEND_APP_PROVIDER_APPS_URL"},
|
||||||
Destination: &cfg.Reva.AppProvider.AppsURL,
|
Destination: &cfg.Reva.AppProvider.AppsURL,
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "appprovider-open-url",
|
Name: "appprovider-open-url",
|
||||||
Value: flags.OverrideDefaultString(cfg.Reva.AppProvider.OpenURL, "/app/open"),
|
Value: flags.OverrideDefaultString(cfg.Reva.AppProvider.OpenURL, "/app/open"),
|
||||||
Usage: "URL where the archiver is reachable",
|
Usage: "URL where files can be handed over to an application from the app provider",
|
||||||
EnvVars: []string{"STORAGE_FRONTEND_APP_PROVIDER_OPEN_URL"},
|
EnvVars: []string{"STORAGE_FRONTEND_APP_PROVIDER_OPEN_URL"},
|
||||||
Destination: &cfg.Reva.AppProvider.OpenURL,
|
Destination: &cfg.Reva.AppProvider.OpenURL,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user