aboutsummaryrefslogtreecommitdiff
path: root/cmd/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index f4f8dc3..d50c468 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -137,7 +137,7 @@ func main() { //nolint:funlen
page.Funcs["ClearRedis"] = app.ClearRedis
srv := &http.Server{
- Handler: app,
+ Handler: app.Handler(),
Addr: listen,
WriteTimeout: time.Duration(pageTimeout) * time.Second,
ReadTimeout: time.Duration(pageTimeout) * time.Second,