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
I got it :https://github.com/koajs/cors/blob/master/index.js#L138
Originally posted by @slip-box in #71 (comment)
allowHeaders don't proxy custom headers [1] to koa middleware. [2]
[1]
server.applyMiddleware({ app, cors: { allowHeaders: ['authorization'], }, })
[2]
export const app = new Koa() app.use(async (ctx, next) => { ctx.req.headers.authorization // this is undefined })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got it :https://github.com/koajs/cors/blob/master/index.js#L138
Originally posted by @slip-box in #71 (comment)
allowHeaders don't proxy custom headers [1] to koa middleware. [2]
[1]
[2]
The text was updated successfully, but these errors were encountered: