Feat: add switch config file API

This commit is contained in:
Dreamacro
2018-11-30 17:42:40 +08:00
parent dc24dd4d89
commit 9cfd26d440
4 changed files with 38 additions and 4 deletions

View File

@ -16,6 +16,6 @@ func Parse() error {
go route.Start(cfg.General.ExternalController, cfg.General.Secret)
}
executor.ApplyConfig(cfg)
executor.ApplyConfig(cfg, true)
return nil
}