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 Error when fetching latest prices #24

Open
davordavidovic opened this issue Nov 21, 2021 · 1 comment
Open

CORS Error when fetching latest prices #24

davordavidovic opened this issue Nov 21, 2021 · 1 comment

Comments

@davordavidovic
Copy link

davordavidovic commented Nov 21, 2021

Following error is happening in useLatest.tsx both on https://mirrorprotocol.app/ and https://mirrorprotocol.is/:

Access to fetch at 'https://price.mirror.finance/latest' from origin 'https://mirrorprotocol.app' has been blocked by CORS policy: 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.

This causes an error when closing a short position:

image

@traumanaked
Copy link

Same issue when attempting to close a short farming position via the 'manage' tab in Borrowing.

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

2 participants