From 9c84393d20b2647fa418a6996fb4eab984b9fcc6 Mon Sep 17 00:00:00 2001 From: sepia Date: Fri, 7 Aug 2026 15:42:16 -0500 Subject: [PATCH] Add CORS for cross-origin font loading (dreccan-mono css-include) --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 76f751a..437d027 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -18,6 +18,9 @@ const app = new Elysia() staticPlugin({ assets: "./data/public", prefix: "/", + headers: { + "Access-Control-Allow-Origin": "*", + }, }), ) .use(html())