import { cors } from 'hono/cors' export const customCors = () => { return cors({ origin: '*', allowMethods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], allowHeaders: ['Content-Type', 'Authorization'], exposeHeaders: ['Content-Length'], maxAge: 600, credentials: false, }) }