Builds the middleware that sets CORS headers on every other response.
It never refuses anything: the endpoint answers exactly as before, and the header decides whether a page on another origin may read the answer.
the express middleware
Builds the middleware that sets CORS headers on every other response.
It never refuses anything: the endpoint answers exactly as before, and the header decides whether a page on another origin may read the answer.