From 4c2c5518f0bf95c1c5abe4c1661354c8e5494ae6 Mon Sep 17 00:00:00 2001 From: harshagarwalnyu Date: Thu, 14 May 2026 11:14:39 -0400 Subject: [PATCH 1/3] fix(dev): route specific Nitro paths even when URL has asset extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Asset-extensioned URLs (e.g. /api/photos/12345.jpg) were being routed to Vite's static middleware instead of the matching Nitro handler because the ASSET_EXT_RE guard in nitroDevMiddlewarePre applied unconditionally to any matched route, including specific prefixed catch-alls like /api/photos/**. The guard was introduced (#4234) to prevent a root-level renderer or user catch-all (/**) from swallowing Vite's own