nitro
nitro copied to clipboard
catch all route not as expected
is there any idea why for example server/routes/hello/[...name].ts is not displaying content server/routes/hello, then I have to create an index.ts route to see server/routes/hello
I think when we use [...name] then [...name] is dynamic like server/routes/hello/1,2,3 etc. If we want to get the specific content for server/routes/hello api, then we need to have index.ts which is not dynamic.