Datalayer Desktop - v0.0.2
    Preparing search index...

    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'";
        };
    } = ...

    Security configuration object with CSP policies.

    Type Declaration

    • ReadonlyALLOWED_PROTOCOLS: readonly ["https:", "wss:"]
    • ReadonlyBLOCKED_SHORTCUTS: readonly [
          { ctrl: true; key: "i"; shift: true },
          { ctrl: true; key: "c"; shift: true },
          { ctrl: true; key: "j"; shift: true },
          { key: "F12" },
      ]
    • ReadonlyPRODUCTION_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'";
      }