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())