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

Empty response from API #236

Open
ansgarS opened this issue Nov 22, 2024 · 0 comments
Open

Empty response from API #236

ansgarS opened this issue Nov 22, 2024 · 0 comments

Comments

@ansgarS
Copy link
Contributor

ansgarS commented Nov 22, 2024

Hey there, I am using the latest cdk-nextjs construct and want to fetch from an API route. I am using the pages router and just added this API route:
image

This route is not doing much:
image

Problem: When I call it, I can see the log in the server just before the return (so it really executes it), but I just get an empty response:
image
image

Any idea what I am missing in the setup?

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

1 participant