Move default configs to root level

This commit is contained in:
Benedikt Kulmann
2020-11-11 17:12:14 +01:00
parent dc61b11850
commit 15df700b27
6 changed files with 55 additions and 32 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ func configureProxy(cfg *config.Config) *svcconfig.Config {
cfg.Proxy.Tracing.Service = cfg.Tracing.Service
}
if cfg.Storage.Reva.JWTSecret != "" {
cfg.Proxy.TokenManager.JWTSecret = cfg.Storage.Reva.JWTSecret
if cfg.TokenManager.JWTSecret != "" {
cfg.Proxy.TokenManager.JWTSecret = cfg.TokenManager.JWTSecret
}
return cfg.Proxy