From 52effbde93ba532c6d4f8473ab24bdba39bf9277 Mon Sep 17 00:00:00 2001 From: lijun Date: Tue, 14 Jan 2025 15:40:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/vcs.xml | 6 ++++++ proto/conf.go | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .idea/vcs.xml 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 }