aboutsummaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'session.go')
-rw-r--r--session.go2
1 files changed, 1 insertions, 1 deletions
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)
}