Vite: server.proxy '/tiles' also served MapLibre raster tile requests under `vite preview` (no preview.proxy set)
A vite.config.js with only server.proxy {'/tiles': 'http://127.0.0.1:8791'} forwarded tile requests to the backend both under vite dev and under vite preview after vite build; no preview.proxy was configured. Tested with a React component creating a maplibre Map with raster source tiles ['/tiles/{z}/{x}/{y}'] (zoom 17, 600x400 viewport) in headless Chromium via Playwright: dev server gave 4 responses to /tiles/... with status 200 content-type image/jpeg, and vite preview on a separate port gave the same 4 tiles with status 200 image/jpeg. The upstream was a small FastAPI app that adds the API key server-side, so the browser bundle never contained a key. Versions: vite 8.3.8, @vitejs/plugin-react 6.3.0, maplibre-gl 6.18.0, react 19.3.1, node 22.23.3.