数据库初始化

This commit is contained in:
lijun 2025-01-14 15:39:43 +08:00
parent c04bd94e67
commit ee2e6bfae7
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func ReadConfig(path string) error {
worker.SetRedis("vp_stream_config", string(jsonData)) worker.SetRedis("vp_stream_config", string(jsonData))
SigningKey = []byte(Config.TOKEN_SECRET) SigningKey = []byte(Config.TOKEN_SECRET)
if Config.TOKEN_SECRET == "" { if Config.TOKEN_SECRET == "" {
err = fmt.Errorf("token secret is empty," + string(jsonData)) err = fmt.Errorf("token secret is empty: %s", string(jsonData))
} }
return err return err
} }