[] staticFile middlewares don't strip basePathname before file resolution
Author: maiieulCreated Jul 8, 2026Updated Sep 14, 2026
Labelsbugneeds reproduction
With a vite base (e.g. /base/), isStaticPath can match a request, but the node/deno/bun staticFile middlewares resolve files as join(staticFolder, url.pathname) — the base segment is not stripped, and dist has no base/ directory, so resolution fails on all three (packages/qwik-router/src/middleware/node/index.ts, middleware/deno/index.ts, middleware/bun/index.ts).
Split out of #8811 (assetsDir static paths fix), which made isStaticPath base-aware but did not touch file resolution.
Source: QwikDev/qwik