From b0ebc98d42a53250abebf9a402e14d3def216c45 Mon Sep 17 00:00:00 2001 From: Max Koon <22125083+k2on@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:19:59 -0400 Subject: [PATCH] feat: disable cors --- api/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/index.ts b/api/src/index.ts index f09b5db..87b9866 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -10,7 +10,7 @@ const app = getHono(); app.use( "/api/*", cors({ - origin: (origin) => origin ?? "", + origin: "*", allowMethods: ["POST", "GET", "OPTIONS"], allowHeaders: ["Content-Type", "Authorization"], credentials: true,