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

next.js API #271

Open
Hewlbern opened this issue Oct 12, 2020 · 1 comment
Open

next.js API #271

Hewlbern opened this issue Oct 12, 2020 · 1 comment

Comments

@Hewlbern
Copy link

  • will it work with FAB, want to migrate to cloudflare workers from vercel
@geelen
Copy link
Contributor

geelen commented Oct 12, 2020

Yep, we support API routes, though this isn't super thoroughly tested just yet. But if you find any rough edges we'll get them fixed. E.g. #265

Note: FABs and CF Workers are a pretty different runtime environment to Vercel, so depending on which libraries you are importing in your Next app, you might run into compilation troubles. It's worth reading #258 if you hit this sort of thing, next-auth in particular isn't supported at this moment.

Any other questions, either drop them here or join the Discord 👍

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

2 participants