diff options
Diffstat (limited to 'cmd/server/handlers.go')
| -rw-r--r-- | cmd/server/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/handlers.go b/cmd/server/handlers.go index 869e5ba..61bb623 100644 --- a/cmd/server/handlers.go +++ b/cmd/server/handlers.go @@ -19,7 +19,7 @@ func (a *App) ServeHTTP(w http.ResponseWriter, r *http.Request) { if a.redisPool != nil { rtr.PathPrefix("/").Handler(rediscache.Handle( - a.redisPool, http.HandlerFunc(a.PageHandler))) + a.redisPool, a.RedisKey, http.HandlerFunc(a.PageHandler))) } else { rtr.PathPrefix("/").Handler(http.HandlerFunc(a.PageHandler)) } |
