This function sets headers unconditionally. If you need to merge with
pre-existing CORS headers, use the returned HttpHeaders as a base and then
apply additional headers after. Do not use Object.assign() or merge functions
that may overwrite the Access-Control-Allow-Origin set here.
Build standard CORS headers.
This function sets headers unconditionally. If you need to merge with pre-existing CORS headers, use the returned HttpHeaders as a base and then apply additional headers after. Do not use Object.assign() or merge functions that may overwrite the Access-Control-Allow-Origin set here.