Backend routes starts with api is served by next router #13436
Unanswered
rajatdhoot123
asked this question in
Help
Replies: 1 comment
-
There's a discussion about it. #9872 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Client-side routes are served by the custom node server
Describe the bug
Here is my custom server code
My backend routes start from /api/**
When I am accessing the server-side rendered page it was working properly.
But when I am making routing on client side it was broken don't know what is wrong here.
One Observation even when I am trying to hit backend routes through the browser it was assuming it as next js app and there was no route match it was returning 404.
Expected behavior
It should not consider backend routes as next js app
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions