Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

API routes inside /src/pages/api/* do not work #42

Open
max-programming opened this issue Feb 15, 2023 · 0 comments
Open

API routes inside /src/pages/api/* do not work #42

max-programming opened this issue Feb 15, 2023 · 0 comments

Comments

@max-programming
Copy link

This is a mind blowing project and I was just changing the code for my site. And I have my API routes and everything in the src folder.

But instead of sending request to /api/whatever it sends request to /src/pages/api/whatever
image

Is there a configuration I have to do if the pages dir is in src

@max-programming max-programming changed the title API routes inside /src/pages/api/* does not work API routes inside /src/pages/api/* do not work Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant