Skip to main content

Function: getProductionCspHeaderValue()

function getProductionCspHeaderValue(): string;

Defined in: electron/services/window/utils/productionSecurityHeaders.ts:83

Build the production Content-Security-Policy header value.

Returns

string

Remarks

Keep this policy intentionally conservative. If a new renderer feature requires expanding it, do so intentionally and with a targeted allow-list.