yonycalsin / nextjs-cors

:tada: nextjs-cors is a node.js package to provide a Connect/Express middleware that can be used to enable CORS with various options :rocket:
MIT License
222 stars 9 forks source link

Example ? #69

Closed adnanfuat closed 2 years ago

adnanfuat commented 2 years ago

Is there an example where Axios, Next-cors is used together?

ghost commented 2 years ago

Axios isn't really related to this library, AFAIK. Axios is just a data fetching client. This is for use in Next.js's API routes to set up CORS.

If you could give a bit more information about what you are looking for then I could offer some more insight.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.