数据库初始化
This commit is contained in:
parent
ee2e6bfae7
commit
52effbde93
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -82,8 +82,8 @@ 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: %s", string(jsonData))
|
||||
}
|
||||
//if Config.TOKEN_SECRET == "" {
|
||||
// err = fmt.Errorf("token secret is empty: %s", string(jsonData))
|
||||
//}
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue