diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/proto/conf.go b/proto/conf.go index 02abce4..eb92aeb 100644 --- a/proto/conf.go +++ b/proto/conf.go @@ -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 }