Environment
- nitro@3.0.1-alpha.1
- vite@7.3.0
// vite.config.ts
import { nitro } from 'nitro/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [nitro()],
});
// nitro.config.ts
export default defineNitroConfig({
serverDir: 'server',
});
Reproduction
StackBlitz
Describe the bug
When using Vite and a custom server.ts with fetch, if the fetch returns a 404 Response, it is discarded and the request is handled by the frontend
Environment
Reproduction
StackBlitz
Describe the bug
When using Vite and a custom server.ts with
fetch, if thefetchreturns a 404 Response, it is discarded and the request is handled by the frontend