From 6871789409bfe6b5eda6dfaef0fdbe8c828abe7a Mon Sep 17 00:00:00 2001 From: Chris Smith <1979423+chris13524@users.noreply.github.com> Date: Wed, 26 Jun 2024 11:10:46 -0700 Subject: [PATCH] fix: CSP test (#83) --- 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', () => {