We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
koa-jwt2 可以使用 ge('/', jwt(options), fn) 进行注销、未注册用户访问配置 egg-jwt 只能 ge('/', app.jwt, fn) , 使用 app.jwt(options) 出现报错
Error: get `/articles/:slug`: `middleware` must be a function, not `object`
The text was updated successfully, but these errors were encountered:
@sfyr111 app.middlewares.jwt 可以拿到中间件
例子: https://github.com/okoala/egg-jwt/blob/master/test/fixtures/apps/jwt-router-middleware/app/router.js
Sorry, something went wrong.
No branches or pull requests
koa-jwt2 可以使用 ge('/', jwt(options), fn) 进行注销、未注册用户访问配置
egg-jwt 只能 ge('/', app.jwt, fn) , 使用 app.jwt(options) 出现报错
The text was updated successfully, but these errors were encountered: