mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-16 15:02:43 +00:00
Update chi/middleware to chi/v5/middleware (#17888)
Fix #17880 Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
4646c7c52d
commit
957c3fcb59
42 changed files with 128 additions and 2572 deletions
|
@ -15,7 +15,7 @@ import (
|
|||
"code.gitea.io/gitea/modules/setting"
|
||||
|
||||
"github.com/chi-middleware/proxy"
|
||||
"github.com/go-chi/chi/middleware"
|
||||
"github.com/go-chi/chi/v5/middleware"
|
||||
)
|
||||
|
||||
// Middlewares returns common middlewares
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue