修复ui路径404的问题

This commit is contained in:
bjd
2021-01-11 18:45:40 +08:00
parent 206cfebb9a
commit a72fc63c06
4 changed files with 12 additions and 13 deletions

View File

@@ -83,6 +83,7 @@ func initServerCfg() {
Cfg.DbFile = getAbsPath(base, Cfg.DbFile)
Cfg.CertFile = getAbsPath(base, Cfg.CertFile)
Cfg.CertKey = getAbsPath(base, Cfg.CertKey)
Cfg.UiPath = getAbsPath(base, Cfg.UiPath)
Cfg.DownFilesPath = getAbsPath(base, Cfg.DownFilesPath)
if len(Cfg.JwtSecret) < 20 {