Unverified Commit 04b7a26c authored by boojack's avatar boojack Committed by GitHub

chore: fix request path (#2014)

parent 28203bba
......@@ -74,7 +74,7 @@ func audienceContains(audience jwt.ClaimStrings, token string) bool {
// will try to generate new access token and refresh token.
func JWTMiddleware(server *APIV1Service, next echo.HandlerFunc, secret string) echo.HandlerFunc {
return func(c echo.Context) error {
path := c.Request().URL.Path
path := c.Path()
method := c.Request().Method
if server.defaultAuthSkipper(c) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment