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 Inspired by Inngest. https://www.inngest.com/docs/reference/functions/step-sleep-until Use case example: Create a todo with a reminder datetime. Run task at date time to send reminder. ```js export default inngest.createFunction(...
### Environment Node: 18.18 Nitro: latest ### Reproduction 1. open [Stackblitz](https://stackblitz.com/edit/nitro-cache-buffer?file=routes%2Fimage.ts,routes%2FcachedImage.ts) 2. open dev tools and disable cache in network tab 3. click the reload button in the preview multiple...
Moved from #2254 Nitro uses c12 loader with [environment specific configuration](https://github.com/unjs/c12?tab=readme-ov-file#environment-specific-configuration) and it supports it currently too however the types are not available.
https://github.com/unjs/nitro/blob/b0f08c1c3b1b9e530c0ff9731aba399fd8ada0c3/src/nitro.ts#L85-L95 Looks like when `fallthrough: true`, a publicAsset's `maxAge` property is not applied, so no cache-control headers are added. Is there a way to go around this. I need `fallthrough:...
### Environment - `node`: 18.16.1 - `nuxt`: 3.7.4 - `drizzle-kit`: 0.19.13 - `@nuxtjs/tailwindcss`: 6.8.0 - `@planetscale/database`: 1.11.0 - `drizzle-orm`: 0.28.6 - `pnpm`: 8.9.0 ### Reproduction Clone the repo: https://github.com/andrevandal/ondevamos-web/tree/start-backend Build....
Context: https://github.com/nuxt/nuxt/issues/24828 The idea is to prerender some routes but instead of writing them directly to output/public as static HTML files, use it to repopulate cache and use bundled storage...
### Describe the feature Currently, the type of the `method` option in `$fetch` can be inferred from the server files present in the project. I would like to propose a...
### Describe the feature Hello, I would like to know how I could use [Queue Consumer](https://developers.cloudflare.com/queues/reference/javascript-apis/#consumer) from Cloudflare. Is it possible to extend cloudflare-pages preset and add `queue` handler ?...
### Environment nitro: 2.7.0 node: v18.18.0 nuxt: 3.8.0 ### Reproduction not available ### Describe the bug I use query params to figure out what page in a pagination the server...
### Environment node v18.16.0, Nuxt 3.7.0 with Nitro 2.6.2 ### Reproduction `~/types/shim.d.ts` ```ts import { S3Client } from '@aws-sdk/client-s3'; declare module 'nitropack' { interface NitroApp { s3: S3Client; } }...