UNPKG

chrome-devtools-frontend

Version:
8 lines (4 loc) 537 B
# Ensure CORS requests are made on supported schemes A cross-origin resource sharing (CORS) request was blocked because the scheme of the request's URL doesn't support CORS. To fix this issue, ensure all CORS request URLs specify a supported scheme, e.g. most commonly https://. Note that if an opaque response is sufficient, then for some schemes the request's mode can be set to `no-cors` to fetch the resource with CORS disabled; that way the scheme doesn't need to support CORS, but the response content is inaccessible (opaque).