3 ms·
But only one domain at a time. The lack of a way to specify multiple domains in a header makes it absurdly painful to actually implement when you want to make y
by falcolas 7y ago
But only one domain at a time. The lack of a way to specify multiple domains in a header makes it absurdly painful to actually implement when you want to make your content available to a specific set of domains.
I’m personally at the point where I’d rather handle unnecessary request authentication than trying to do anything with CORS.
- icebraining 7y agoI'm curious, why was it painful? We just had a middleware do an Origin check and copy the header if it matches.
- falcolas 7y ago90+ microservices with 5+ environments. Mostly a matter of scaling a solution across a rather large surface area and across a number of languages and teams.
- icebraining 7y agoFair enough; seems like it could be done using a gateway like Kong, but if you're not already using one, it wouldn't be worth adding it just for that.