Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS Issue when calling from localhost #7

Open
pgainullin opened this issue Jul 3, 2024 · 0 comments
Open

CORS Issue when calling from localhost #7

pgainullin opened this issue Jul 3, 2024 · 0 comments

Comments

@pgainullin
Copy link

Access to XMLHttpRequest at 'https://api.replicate.com/v1/predictions' from origin 'http://localhost:#####' 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.

One solution could be to add a proxy URL when authenticating Replicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant