diff options
author | zeripath <art27@cantab.net> | 2021-12-02 20:58:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 21:58:08 +0100 |
commit | 957c3fcb5949b3f7ee348d3f7f609826cedb0e8b (patch) | |
tree | bb5cf64f8226989a61ad55d1e3799e813cf0a5ea /routers/web/web.go | |
parent | 4646c7c52d453dcc817f8e14b991de0e4f67b492 (diff) | |
download | gitea-957c3fcb5949b3f7ee348d3f7f609826cedb0e8b.tar.gz gitea-957c3fcb5949b3f7ee348d3f7f609826cedb0e8b.zip |
Update chi/middleware to chi/v5/middleware (#17888)
Fix #17880
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'routers/web/web.go')
-rw-r--r-- | routers/web/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/web.go b/routers/web/web.go index a642fdea5e..c52d3483f0 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -40,7 +40,7 @@ import ( "gitea.com/go-chi/captcha" "github.com/NYTimes/gziphandler" - "github.com/go-chi/chi/middleware" + "github.com/go-chi/chi/v5/middleware" "github.com/go-chi/cors" "github.com/prometheus/client_golang/prometheus" "github.com/tstranex/u2f" |