mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 01:09:54 -05:00
introduce dedicated reva commands
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
svcconfig "github.com/owncloud/ocis-phoenix/pkg/config"
|
||||
"github.com/owncloud/ocis/pkg/config"
|
||||
)
|
||||
@@ -14,15 +12,8 @@ func configurePhoenix(cfg *config.Config) *svcconfig.Config {
|
||||
cfg.Phoenix.Log.Pretty = cfg.Log.Pretty
|
||||
cfg.Phoenix.Log.Color = cfg.Log.Color
|
||||
|
||||
if len(os.Getenv("PHOENIX_OIDC_METADATA_URL")) == 0 {
|
||||
os.Setenv("PHOENIX_OIDC_METADATA_URL", "http://localhost:20080/.well-known/openid-configuration")
|
||||
}
|
||||
if len(os.Getenv("PHOENIX_OIDC_AUTHORITY")) == 0 {
|
||||
os.Setenv("PHOENIX_OIDC_AUTHORITY", "http://localhost:20080")
|
||||
}
|
||||
if len(os.Getenv("PHOENIX_WEB_CONFIG_SERVER")) == 0 {
|
||||
os.Setenv("PHOENIX_WEB_CONFIG_SERVER", "http://localhost:20080")
|
||||
}
|
||||
// disable ocis-hello extension
|
||||
cfg.Phoenix.Phoenix.Config.ExternalApps = []svcconfig.ExternalApp{}
|
||||
|
||||
return cfg.Phoenix
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user