jetbridge / jetbridge/cdk-nextjs

Empty response from API

Open
#236 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
362
Forks
50
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.