-
Notifications
You must be signed in to change notification settings - Fork 36
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: not able to use /api
routes
#29
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in codesandbox/sandpack#808
Originally posted by ismaelrumzan March 6, 2023
Hi,
I'm trying to set up an embed codesandbox for an API edge function code example.
It works in the sandbox here:
https://codesandbox.io/p/sandbox/hopeful-lake-4ncj08
When I try to use a similar example (JS version) in the code embed, I get
failed to load
in the preview. This is my code.Any suggestions?
Reproducible sandbox: https://codesandbox.io/s/laughing-yalow-cb3c03?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: