Skip to content

Commit

Permalink
chore: fix request path (#2014)
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack authored Jul 23, 2023
1 parent 28203bb commit 04b7a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 04b7a26

Please sign in to comment.