replicate-javascript icon indicating copy to clipboard operation
replicate-javascript copied to clipboard

No 'Access-Control-Allow-Origin' header is present on the requested resource

Open phusting opened this issue 7 months ago • 7 comments

I'm getting a CORS error and it is because I can't go across domains from my domain to yours. Any suggestions?

Access to fetch at 'https://api.replicate.com/v1/predictions' from origin 'https://ghostwriter-ai.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled

phusting avatar Nov 29 '23 01:11 phusting