Skip to content

basalt / billing-ui/src / billingPageCsp

Function: billingPageCsp() ​

> billingPageCsp(options?): string

Defined in: billing-ui/src/html.ts:72

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

Parameters ​

options? ​

BillingPageOptions = {}

Returns ​

string

Released under the MIT License.