Start renaming

This commit is contained in:
2026-11-11 11:45:20 -03:00
parent ae22ec5276
commit 216d54a0ae
179 changed files with 890 additions and 449 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ The `csp()` middleware can be used to add
to HTTP requests. These restrict which resources a document is allowed to load.
```ts main.ts
import { csp } from "fresh";
import { csp } from "sweet";
const app = new App()
.use(csp({
@@ -32,7 +32,7 @@ This ensures only inline `<script>` and `<style>` tags rendered by Fresh are
allowed to execute.
```ts main.ts
import { csp } from "fresh";
import { csp } from "sweet";
const app = new App()
.use(csp({ useNonce: true }))
@@ -70,5 +70,5 @@ When `useNonce` is enabled:
## Options
See the [API docs](https://jsr.io/@fresh/core/doc/~/csp) for a list of all
See the [API docs](https://jsr.io/@paulaboks/sweet/doc/~/csp) for a list of all
supported options.