Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/src/runtime/csp.ts>useCSP

The next-gen web framework.
Extremely Popular
Go to Latest
function useCSP
import { useCSP } from "https://deno.land/x/fresh@1.5.1/src/runtime/csp.ts";

Parameters

mutator: (csp: ContentSecurityPolicy) => void