fix: allowing all headers

This commit is contained in:
2025-11-15 14:53:48 +00:00
parent adcc6e8a4f
commit 689291ef6b

View File

@ -6,7 +6,7 @@ import { styleText } from "node:util";
const CORS_HEADERS = {
"Access-Control-Allow-Origin": ENV.FRONTEND_URL,
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
"Access-Control-Allow-Headers": "Content-Type, Authorization",
"Access-Control-Allow-Headers": "*",
};
const allowCors = async (_: Request): Promise<Response> => {