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

x/fresh/tests/deps.ts>Page#setBypassCSP

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.setBypassCSP
Re-export
import { Page } from "https://deno.land/x/fresh@1.4.1/tests/deps.ts";

Toggles bypassing page's Content-Security-Policy.

Parameters

enabled: boolean
  • sets bypassing of page's Content-Security-Policy.

Returns

Promise<void>