From c765eeca8a5583fe6bba44184bfa184515cf1a2d Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 26 Jun 2024 10:47:52 -0700 Subject: [PATCH] fix: CSP test --- integration/integration.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/integration.test.ts b/integration/integration.test.ts index 3c9fd56..a1f9d0a 100644 --- a/integration/integration.test.ts +++ b/integration/integration.test.ts @@ -112,7 +112,7 @@ describe('verify', () => { expect(resp.status).toBe(200) let policy = resp.headers["content-security-policy"] - expect(policy).toBe(`frame-ancestors http://*.localhost http://localhost`) + expect(policy).toBe(`frame-ancestors http://*.localhost http://localhost https://localhost:* http://localhost:* https://*.localhost:* http://*.localhost:* https://127.0.0.1:* http://127.0.0.1:*`) }) describe('invalid project ID', () => {