Skip to content

basalt / audit-viewer/src / auditViewerCsp

Function: auditViewerCsp() ​

> auditViewerCsp(options?): string

Defined in: audit-viewer/src/html.ts:49

The Content-Security-Policy matching auditViewerHtml: everything locked down, the page's inline script allowed by sha256 hash. Served by default from auditViewerRoutes so the page works under securityPlugin without weakening the app-wide policy.

Parameters ​

options? ​

AuditViewerHtmlOptions = {}

Returns ​

string

Released under the MIT License.