From 7366652781a009b751bc89313149167ad8448148 Mon Sep 17 00:00:00 2001 From: Jake Ginnivan Date: Mon, 4 Nov 2024 11:39:03 +0800 Subject: [PATCH] Add cors headers for app content --- website/app/routes/_layout.app-content.$.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/app/routes/_layout.app-content.$.tsx b/website/app/routes/_layout.app-content.$.tsx index 360aada..f6dee66 100644 --- a/website/app/routes/_layout.app-content.$.tsx +++ b/website/app/routes/_layout.app-content.$.tsx @@ -35,7 +35,7 @@ export async function loader({ params, request, context }: LoaderFunctionArgs) { post: post.code, conferenceState: context.conferenceState, }, - { headers: { 'Cache-Control': CACHE_CONTROL.doc } }, + { headers: { 'Cache-Control': CACHE_CONTROL.doc, 'Access-Control-Allow-Origin': '*' } }, ) }