Basic JWT is now working #12
1
main.go
1
main.go
@ -27,6 +27,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
e.Pre(middleware.RemoveTrailingSlash())
|
e.Pre(middleware.RemoveTrailingSlash())
|
||||||
e.Pre(middleware.Logger())
|
e.Pre(middleware.Logger())
|
||||||
|
e.Pre(middleware.Recover())
|
||||||
|
|
||||||
v1Group := e.Group("/api/v1")
|
v1Group := e.Group("/api/v1")
|
||||||
v1Api := v1.NewHandler(db)
|
v1Api := v1.NewHandler(db)
|
||||||
|
Loading…
Reference in New Issue
Block a user