tech: updated dependencies
This commit is contained in:
1 parent
00a4e464ff
commit
d146363246
3 files changed
+45
-15
No files matched your search
+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