nitro icon indicating copy to clipboard operation
nitro copied to clipboard

routeRules stopped working in 2.9 when deployed to Azure

Open tobiasdiez opened this issue 2 months ago • 0 comments

Environment

Reproduction

https://github.com/JabRef/JabRefOnline/pull/2370 not really a "minimal reproduction" but since there are issues with the deployment of the nitro example in https://github.com/unjs/nitro-deploys, I'm not sure where I should start

Describe the bug

After the upgrade from nitro 2.8.1 to 2.9.0 (or 2.9.6) all routes defined in nuxt.config as well as all pages except for the index are resulting in 404 errors when deployed to azure functions. Strangely, also the server routes are working correctly (in my case /api). I cannot reproduce it locally with the azure cli, and running the dev server locally also works. No errors are logged in the azure portal. Hence, I have no idea how to investigate this issue further.

If you have any idea what change could have triggered this, can try it again with a patched version.

Additional context

Perhaps https://github.com/nuxt/nuxt/issues/26567 is related

Logs

No response

tobiasdiez avatar Apr 06 '24 07:04 tobiasdiez