diff options
Diffstat (limited to 'modules/web')
-rw-r--r-- | modules/web/route.go | 2 | ||||
-rw-r--r-- | modules/web/route_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/web/route.go b/modules/web/route.go index 9b08510264..ad9cea8bb6 100644 --- a/modules/web/route.go +++ b/modules/web/route.go @@ -15,7 +15,7 @@ import ( "code.gitea.io/gitea/modules/web/middleware" "gitea.com/go-chi/binding" - "github.com/go-chi/chi" + chi "github.com/go-chi/chi/v5" ) // Wrap converts all kinds of routes to standard library one diff --git a/modules/web/route_test.go b/modules/web/route_test.go index 03955f0f2d..a8470fec94 100644 --- a/modules/web/route_test.go +++ b/modules/web/route_test.go @@ -10,7 +10,7 @@ import ( "net/http/httptest" "testing" - "github.com/go-chi/chi" + chi "github.com/go-chi/chi/v5" "github.com/stretchr/testify/assert" ) |