nitro
nitro copied to clipboard
Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
### Describe the feature Hey all 👋🏻 right now, Nitro has very [low-level support](https://github.com/unjs/nitro/blob/main/src/runtime/timing.ts) for adding [Server-Timing](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing) headers. While it is possible to use, it feels like DX could be...
The list of mime types in your handler `compressPublicAssets` is missing `application/wasm`. The link provided near this list includes that type. It seems like Nitro should, too. https://github.com/unjs/nitro/blob/9e2cd8af32b2ea803b52ca0df282c588356161a2/src/compress.ts#L83C1-L131C4
### Environment nitropack: 1.0.0 nuxt3: 1.0.0 node: node18 ### Reproduction nuxt3 ``` pnpm build ``` ``` pnpm preview ``` ### Describe the bug invalid url will cause 500 error, because...
https://github.com/nuxt/framework/pull/3153
### Environment Node ### Reproduction https://stackblitz.com/edit/github-kk3ajf?file=nitro.config.ts 1. Run the StackBlitz 2. Stop the server 3. Run npm run build 4. Note the prerender fails with a file not found error...
### Environment nitro v2.9.6 node v22.0.0 npm v10.5.1 ### Reproduction Try to create a redirect or something for certain type of files ### Describe the bug So this is what...
### Environment h3 1.11.1 bun 1.1.3 ### Reproduction https://stackblitz.com/edit/github-b7ffrj?file=server%2Fapi%2Fevents.ts All output is in your browsers devtools. The reproduction provides an SSE endpoint (`/api/events`) simply sending events once a second. The...
### Environment ``` node: v18.18.0 nitropack: "2.9.6" "express": "^4.19.2" ``` ``` export default defineNitroConfig({ srcDir: 'server', handlers: [ { route: '/api', middleware: true, handler: './subsystem/index.ts', }, ], }); ``` ###...
### Describe the feature I have extended the cloudflare adapter with pub/sub but can't make it work when deployed. Any pointers on how to fix this or are there other...
### Environment ```sh ------------------------------ - Operating System: Linux - Node Version: v20.13.0 - Nuxt Version: 3.12.0-28588152.416d76ab - CLI Version: 3.11.2-1712838256.8df35eb - Nitro Version: 2.10.0-28585081.346a4950 - Package Manager: [email protected] - Builder:...