Variable SECURITY_POLICIESConst
SECURITY_POLICIES: {
ALLOWED_PROTOCOLS: readonly ["https:", "wss:"];
BLOCKED_SHORTCUTS: readonly [
{ ctrl: true; key: "i"; shift: true },
{ ctrl: true; key: "c"; shift: true },
{ ctrl: true; key: "j"; shift: true },
{ key: "F12" },
];
PRODUCTION_CSP: {
connectSrc: "'self' https://prod1.datalayer.run https://*.datalayer.io wss://*.datalayer.run";
defaultSrc: "'self'";
fontSrc: "'self' data:";
imgSrc: "'self' data: https:";
scriptSrc: "'self' 'unsafe-eval'";
styleSrc: "'self' 'unsafe-inline'";
};
} = ...
Type Declaration
Readonly
ALLOWED_PROTOCOLS: readonly ["https:", "wss:"]
Readonly
BLOCKED_SHORTCUTS: readonly [
{ ctrl: true; key: "i"; shift: true },
{ ctrl: true; key: "c"; shift: true },
{ ctrl: true; key: "j"; shift: true },
{ key: "F12" },
]
Readonly
PRODUCTION_CSP: {
connectSrc: "'self' https://prod1.datalayer.run https://*.datalayer.io wss://*.datalayer.run";
defaultSrc: "'self'";
fontSrc: "'self' data:";
imgSrc: "'self' data: https:";
scriptSrc: "'self' 'unsafe-eval'";
styleSrc: "'self' 'unsafe-inline'";
}
Security configuration object with CSP policies.