diff --git a/server/src/index.ts b/server/src/index.ts index a922882..139692f 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -1,5 +1,4 @@ import { Hono } from "hono"; -import { cors } from "hono/cors"; import { logger } from "hono/logger"; import type { Bindings } from "./lib/config.js"; import { auth } from "./routes/auth.js"; @@ -9,7 +8,6 @@ import { metrics } from "./routes/metrics.js"; const app = new Hono<{ Bindings: Bindings }>(); app.use("*", logger()); -app.use("*", cors()); app.route("/", auth); app.route("/", health);