From ad30def5420185dfbe2107b1ec972bddc975b358 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Sun, 15 Aug 2021 13:56:12 -0300 Subject: redis config --- session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'session.go') diff --git a/session.go b/session.go index 45bf86c..bb6175d 100644 --- a/session.go +++ b/session.go @@ -12,7 +12,7 @@ import ( var cache redis.Conn func InitCache() { - conn, err := redis.DialURL("redis://localhost") + conn, err := redis.DialURL(GetConfigValue("redis")) if err != nil { panic(err) } -- cgit v1.2.3