✅ Access-Control-Allow-Headers allow "*" #500
Replies: 3 comments 3 replies
-
I presume you're talking about this line: https://github.com/RobinTail/express-zod-api/blob/master/src/endpoint.ts#L138 I agree. There could be more headers.
What could these CORS setting look like in your opinion? Should they configure these headers: P.S. Thank you for your finding |
Beta Was this translation helpful? Give feedback.
-
@HardCoreQual , please check out my PR #503 . |
Beta Was this translation helpful? Give feedback.
-
The feature released in version 7.5.0 🚀 |
Beta Was this translation helpful? Give feedback.
-
in experss-zod-api has
response.set("Access-Control-Allow-Headers", "content-type");
but here also can be send and authorization for example, I think better solution is to have possibility send all cors settings in Config
Beta Was this translation helpful? Give feedback.
All reactions