From 074b2f42698c8f36f5ae24ece697a880d26fe612 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 26 May 2022 11:19:53 +0800 Subject: [PATCH] fix session redis store bug --- share/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/session.go b/share/session.go index 8fe5552f..1d5661fd 100644 --- a/share/session.go +++ b/share/session.go @@ -43,7 +43,7 @@ func SessionConnect() { } args = append(args, config.Conf.Session.Port, config.Conf.Session.DB, config.Conf.Session.Password) - rdb, err := session.NewRedis(config.Conf.Host, args...) + rdb, err := session.NewRedis(config.Conf.Session.Host, args...) if err != nil { panic(err) }