codekitchen / dinghy-http-proxy

the http proxy container that dinghy uses
MIT License
125 stars 43 forks source link

feat: define specific cors domains #62

Closed fuse closed 2 years ago

fuse commented 2 years ago

We can't mix request with credentials with wildcard for Access-Control-Allow-Headers [1].

This modifications enable ability to define specific domains for CORS, enabling requests with credentials.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers

codekitchen commented 2 years ago

looks great thank you! I'll cut a v2.7.1