Skip to content

Commit

Permalink
feat(ci/cd):add (ci/cd)
Browse files Browse the repository at this point in the history
  • Loading branch information
OOrangeeee committed Oct 14, 2024
1 parent 1454e73 commit 58571c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/configs/middlewareConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func InitMiddleware(e *echo.Echo, jwtSecret string) {
}).Info("JWT中间件启用")
return false
},
SigningKey: jwtSecret,
SigningKey: []byte(jwtSecret),
TokenLookup: "header:Authorization:Bearer ",
ErrorHandler: func(c echo.Context, err error) error {
utils.Log.WithFields(logrus.Fields{
Expand Down

0 comments on commit 58571c6

Please sign in to comment.