Skip to content

basalt / http/src / DEFAULT_CSP

Variable: DEFAULT_CSP ​

> const DEFAULT_CSP: "default-src 'none'; frame-ancestors 'none'" = "default-src 'none'; frame-ancestors 'none'"

Defined in: http/src/security.ts:163

Restrictive default CSP for a JSON API: it renders nothing and frames nothing.

Released under the MIT License.