diff --git a/app/weaverse/create-weaverse.server.ts b/app/weaverse/create-weaverse.server.ts index adca5fa..6b58291 100644 --- a/app/weaverse/create-weaverse.server.ts +++ b/app/weaverse/create-weaverse.server.ts @@ -33,23 +33,24 @@ export function getWeaverseCsp(request: Request) { frameAncestors: weaverseHosts, defaultSrc: [ "'self'", - 'https://cdn.shopify.com', - 'https://shopify.com', - 'https://*.youtube.com', - 'https://*.google.com', + 'cdn.shopify.com', + 'shopify.com', + '*.youtube.com', + '*.google.com', + 'fonts.gstatic.com', ...weaverseHosts, ], imgSrc: [ "'self'", "data:", - 'https://cdn.shopify.com', + 'cdn.shopify.com', ...weaverseHosts, ], styleSrc: [ "'self'", "'unsafe-inline'", 'fonts.googleapis.com', - 'https://cdn.shopify.com', + 'cdn.shopify.com', ...weaverseHosts, ], };