docs: fix broken link (#4356)

This commit is contained in:
webfansplz 2022-04-14 21:38:47 +08:00 committed by GitHub
parent 3c59a9f59f
commit 497405fb5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Back to [presets list](/guide/deployment/presets).
## Setup
You can create your own custom-built preset. See [the provided presets](https://github.com/nuxt/framework/blob/main/packages/nitro/src/presets) for examples.
You can create your own custom-built preset. See [the provided presets](https://github.com/unjs/nitro/tree/main/src/presets) for examples.
### Inline preset definition

View File

@ -39,4 +39,4 @@ NITRO_PRESET=worker npx nuxt build
The worker preset produces a service worker that can provide full HTML rendering within a worker context (for example [Cloudflare Workers](/guide/deployment/cloudflare)). It registers appropriate handlers for `fetch`, `install` and `activate`.
For more information you can see the [source code](https://github.com/nuxt/framework/blob/main/packages/nitro/src/runtime/entries/service-worker.ts).
For more information you can see the [source code](https://github.com/unjs/nitro/blob/main/src/presets/service-worker.ts).