Dynamic server routes not working
I'm trying to get the displayed route structure working in my
I have found an issue talking about this problem on GitHub (https://github.com/nuxt/nuxt/issues/24040), and they seem to have found a solution for their use-case, but I am unsure if I could apply something similar.
The docs (https://nuxt.com/docs/guide/directory-structure/server#server-routes) are mentioning this as well, but it's quite incomprehensible as to what exactly the limiting factors are.
This sort of directory structure is working perfectly fine for routing pages, so I'm a tad confused as to why this wouldn't be working for server routes.
I'd appreciate any sort of idea as for how to fix or workaround this issue. Reworking the directory structure might work as well, but seems disadvantageous, as the current structure would be the proper convention.
Thanks!
server/api directory, but nuxt (or in this case nitro) seems to be unable to resolve routes with multiple dynamic parameters.I have found an issue talking about this problem on GitHub (https://github.com/nuxt/nuxt/issues/24040), and they seem to have found a solution for their use-case, but I am unsure if I could apply something similar.
The docs (https://nuxt.com/docs/guide/directory-structure/server#server-routes) are mentioning this as well, but it's quite incomprehensible as to what exactly the limiting factors are.
This sort of directory structure is working perfectly fine for routing pages, so I'm a tad confused as to why this wouldn't be working for server routes.
I'd appreciate any sort of idea as for how to fix or workaround this issue. Reworking the directory structure might work as well, but seems disadvantageous, as the current structure would be the proper convention.
Thanks!

GitHub
The Intuitive Vue Framework. Contribute to nuxt/nuxt development by creating an account on GitHub.
Nuxt
The server/ directory is used to register API and server handlers to your application.
