\n\n**Problem:**\nIn the **development** mode all works perfectly (`npm run dev`)\nIn the **production** mode route `/id/1` returns 404 error (`npm run build && npm run preview`)\n\u003Cimg width=\"1242\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/17d7ebe0-6ba8-424f-9827-7f47fc31dd12\" />\n\n\n\n\n### Additional context\n\nI expect the **same behavior** in the dev and prod modes\n\nNitro code is [here](https://github.com/nitrojs/nitro/blob/3845524bbf50bc9ce43b914fbb1e9a10d6294046/src/runtime/internal/static.ts#L68) \n\n\n\n### Logs\n\n```shell-script\n\n```",[2983,2986,2987,2990],{"name":2984,"color":2985},"dx","C39D69",{"name":2910,"color":2911},{"name":2988,"color":2989},"nitro","bfd4f2",{"name":2991,"color":2992},"vite","3574D1",31514,"`Cannot find static asset` if nuxt dynamic route matches `buildAssetsDir`","2025-03-27T15:07:26Z","https://github.com/nuxt/nuxt/issues/31514",0.67715967,["Reactive",2999],{},["Set"],["ShallowReactive",3002],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fqFftYHYCf9ovtNfu1j0SOsCWwR7PEL_nAQjQzJN-PDQ":-1},"/nuxt/icon/251"]