Classify an access-control-allow-origin response value for an opaque origin.
access-control-allow-origin
Target URL the header came from.
Raw access-control-allow-origin header value, or null when absent.
null
Diagnostic describing whether the sandboxed frame can load assets.
classifyTargetCors('http://127.0.0.1:5173/', '*').status; // 'allowed'classifyTargetCors('http://127.0.0.1:5173/', null).status; // 'blocked' Copy
classifyTargetCors('http://127.0.0.1:5173/', '*').status; // 'allowed'classifyTargetCors('http://127.0.0.1:5173/', null).status; // 'blocked'
Classify an
access-control-allow-originresponse value for an opaque origin.