From 774dc427a4085503541b0a0bfcec9ac696beb4a0 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 27 Nov 2023 12:36:44 +0700 Subject: [PATCH] update csp --- app/weaverse/create-weaverse.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/weaverse/create-weaverse.server.ts b/app/weaverse/create-weaverse.server.ts index 24b658a..7098b4d 100644 --- a/app/weaverse/create-weaverse.server.ts +++ b/app/weaverse/create-weaverse.server.ts @@ -25,7 +25,7 @@ export function getWeaverseCsp(request: Request) { let url = new URL(request.url); // Get weaverse host from query params let weaverseHost = url.searchParams.get('weaverseHost'); - let weaverseHosts = ['https://*.weaverse.io']; + let weaverseHosts = ['weaverse.io', '*.weaverse.io']; if (weaverseHost) { weaverseHosts.push(weaverseHost); }