diff options
Diffstat (limited to 'routers/web/web.go')
-rw-r--r-- | routers/web/web.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/web/web.go b/routers/web/web.go index bb2442fec4..e63add51f3 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -114,7 +114,8 @@ func Routes(ctx gocontext.Context) *web.Route { routes.RouteMethods("/apple-touch-icon.png", "GET, HEAD", misc.StaticRedirect("/assets/img/apple-touch-icon.png")) routes.RouteMethods("/favicon.ico", "GET, HEAD", misc.StaticRedirect("/assets/img/favicon.png")) - ctx, _ = templates.HTMLRenderer(ctx) + _ = templates.HTMLRenderer() + common := []any{ common.Sessioner(), RecoveryWith500Page(ctx), |