fix config bug
This commit is contained in:
parent
f5c47ea28a
commit
1fc3490ac4
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ func initServer(cfg *core.Config) (err error) {
|
|||
log.InitLogger(cfg)
|
||||
|
||||
cfg.DataDir = filepath.Join(cfg.RunDir, core.DataDir)
|
||||
debugCfg := cfg
|
||||
debugCfg := new(core.Config)
|
||||
*debugCfg = *cfg
|
||||
debugCfg.Secret = "***hidden***"
|
||||
log.Debugf("docstore config: %+v", debugCfg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue