Rewrites to API routes return 404 on Vercel when i18n is enabled
When using i18n with custom rewrites that target API routes, deployed applications on Vercel return 404 for those rewritten paths, even though they work in local development. This appears to be caused by a routing priority issue between i18n locale handling and API route rewrites.
