You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey @hcapp01,
currently only successful requests to existing blobs will respond with Access-Control-Allow-Origin': *. Is there any particular reason you are trying to fetch non existing blob urls?
CODE:
const response = await fetch(REMOTE_UNITS_URL, {
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, OPTIONS',
'Access-Control-Allow-Headers': 'Content-Type'
}
});
ERROR:
Access to fetch at 'https://xxxx.public.blob.vercel-storage.com/json/xxx.json' from origin 'http://localhost:3002' has been blocked by CORS policy: Request header field access-control-allow-methods is not allowed by Access-Control-Allow-Headers in preflight response.
The text was updated successfully, but these errors were encountered: