Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Demo issue with CORS request #5

Open
dawsbot opened this issue May 22, 2020 · 4 comments
Open

Demo issue with CORS request #5

dawsbot opened this issue May 22, 2020 · 4 comments

Comments

@dawsbot
Copy link

dawsbot commented May 22, 2020

Hi folks, thanks for the great demo! It appears that the eoscanada endpoint is throwing a CORS error which is blocking the POST to https://mainnet.eoscanada.com/v1/chain/get_currency_balance This causes a critical error and no response after clicking # 4

Pasted_Image_5_22_20__10_44_AM

Steps to reproduce

I had Scatter open already and approved the auth for the demo application to access my scatter wallet. On latest Brave Browser (Version 1.10.64 Chromium: 81.0.4044.138 (Official Build) beta (64-bit)) on latest MacOS MacBook Pro

Pasted_Image_5_22_20__10_47_AM

@chendatony31
Copy link
Member

@dawsbot Yeah, it is the problem with the endpoint, I've changed it. But some demo button I've deleted from the demo page, you may find them in the code though.

@chendatony31
Copy link
Member

And you can also check the demo with eosjs2 here: https://github.com/TP-Lab/scatter-demo-eosjs2

@dawsbot
Copy link
Author

dawsbot commented May 22, 2020

Looks great, https://github.com/TP-Lab/scatter-demo-eosjs2 works well for me, is it possible to update this repo as well? This repo is linked directly from https://www.tokenpocket.pro/en/developer so I suppose it's important to work without error

@chendatony31
Copy link
Member

Related link added :)

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

No branches or pull requests

2 participants