mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 11:51:16 -06:00
20 lines
451 B
Go
20 lines
451 B
Go
// +build !simple
|
|
|
|
package command
|
|
|
|
import (
|
|
svcconfig "github.com/owncloud/ocis-phoenix/pkg/config"
|
|
"github.com/owncloud/ocis/pkg/config"
|
|
)
|
|
|
|
func configurePhoenix(cfg *config.Config) *svcconfig.Config {
|
|
cfg.Phoenix.Log.Level = cfg.Log.Level
|
|
cfg.Phoenix.Log.Pretty = cfg.Log.Pretty
|
|
cfg.Phoenix.Log.Color = cfg.Log.Color
|
|
|
|
// disable ocis-hello extension
|
|
cfg.Phoenix.Phoenix.Config.ExternalApps = []svcconfig.ExternalApp{}
|
|
|
|
return cfg.Phoenix
|
|
}
|