Update chi/middleware to chi/v5/middleware (#17888)

Fix #17880


Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
zeripath 2021-12-02 20:58:08 +00:00 committed by GitHub
parent 4646c7c52d
commit 957c3fcb59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 128 additions and 2572 deletions

View file

@ -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"