Skip to content
New issue

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

GMT koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md at server\index.js:6:5 #58

Closed
yoonasy opened this issue Jan 2, 2019 · 3 comments

Comments

@yoonasy
Copy link

yoonasy commented Jan 2, 2019

GMT koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md at server\index.js:6:5

app.use(cors())

@yoonasy yoonasy closed this as completed Jan 7, 2019
@yoonasy yoonasy reopened this Jan 7, 2019
@dead-horse
Copy link
Member

you should use @koa/cors

@yoonasy
Copy link
Author

yoonasy commented Jan 7, 2019

@dead-horse thank you

@dionisoros
Copy link

thank you, @dead-horse!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants