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

Token metadata http requests rejected on development #487

Open
tuliomir opened this issue Jan 12, 2024 · 0 comments
Open

Token metadata http requests rejected on development #487

tuliomir opened this issue Jan 12, 2024 · 0 comments

Comments

@tuliomir
Copy link
Collaborator

tuliomir commented Jan 12, 2024

In the development environment, whenever the Desktop Wallet tries to fetch token metadata it receives a CORS error from the Wallet Service.

Access to XMLHttpRequest at 'https://explorer-service.hathor.network/metadata/dag?id=00' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

This makes it so that the behavior of the wallet in development is different from that of the production version.

We should have an alternative for interacting with the explorer service without any errors, even if limited to the testnet network.

Note

Developments on #488 indicate that the metadata errors may be happening in production as well, but they are not finding a way to be displayed to the user.

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