数据库初始化
This commit is contained in:
parent
c04bd94e67
commit
ee2e6bfae7
|
|
@ -83,7 +83,7 @@ func ReadConfig(path string) error {
|
|||
worker.SetRedis("vp_stream_config", string(jsonData))
|
||||
SigningKey = []byte(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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue