appleboy on master
chore(deps): add go1.20 version (compare)
.GET("/ui")only matches the exact path
s.Engine.StaticFSfunctionality. This is working great for the index page, but when the SPA navigates to a route that should be controlled by the SPA Gin is returning a 404. Is there any way to tell it to serve the same index.html for everything under the route that's not in the filesystem?
Hi! I'd like to use mutliple auth middlewares, so that at least one must pass for a gin.RouterGroup
Currently I use:
// adapter "github.com/gwatts/gin-adapter" // ... private.Use(adapter.Wrap(jwtMiddleware.CheckJWT))
and I'd like to add one more JWT verifier, but for a different issuer.
Maybe someone can point me in the right direction? :)