Next.js Discord

Discord Forum

Does top level optional catch-all segment prevents me from using api routes?

Unanswered
Cicada killer posted this in #help-forum
Open in Discord
Cicada killerOP
In my 'app' directory I have 2 directories: '[[...slug]]' for pages and 'api' for routes. It looks like these two are in conflict and I won't be able to use api routes. Is that correct?

0 Replies