diff --git a/app/entry.server.tsx b/app/entry.server.tsx index 37f831b..b31bb76 100644 --- a/app/entry.server.tsx +++ b/app/entry.server.tsx @@ -13,11 +13,13 @@ export default async function handleRequest( // 1. Add the Rick & Morty CDN to the list of allowed image sources const {nonce, header, NonceProvider} = createContentSecurityPolicy({ imgSrc: [ + "'self'", 'http://localhost:3000', + 'https://*.o2.myshopify.dev', 'data:', 'https://cdn.shopify.com', 'https://shopify.com', - 'https://rickandmortyapi.com/api', + 'https://rickandmortyapi.com/api/character', ], });