mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 19:53:21 +02:00
tech: updated dependencies
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ func InitBackendRoutes() *chi.Mux {
|
||||
r.Get("/", GetHelloWorld)
|
||||
r.Group(func(r chi.Router) {
|
||||
r.Use(jwtauth.Verifier(api.TokenAuth))
|
||||
r.Use(jwtauth.Authenticator)
|
||||
r.Use(jwtauth.Authenticator(api.TokenAuth))
|
||||
r.Mount("/post", api.NewPostRouter())
|
||||
})
|
||||
r.Mount("/auth", api.NewAuthRouter())
|
||||
|
||||
Reference in New Issue
Block a user