internal: fix race condition with config loading on startup, add index on debug server
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -18,7 +18,7 @@ var cfg *Config
|
||||
func Get() *Config {
|
||||
if cfg == nil {
|
||||
c := defaultConfig()
|
||||
c.Setup()
|
||||
c.Setup("./authentik/lib/default.yml", "./local.env.yml")
|
||||
cfg = c
|
||||
}
|
||||
return cfg
|
||||
|
||||
Reference in New Issue
Block a user