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,