You are viewing a single comment's thread from:

RE: Launching the first Steem Proposals UI

in #steemdao6 years ago

Looks nice.
If you want to avoid CORS, build a little “bridge” script that fetches the data server side. You frontend makes calls to your script which in turn makes calls to the testnet and echo it back to the frontend

Sort:  

Do you have any samples of that? Would really appreciate that. I'm using axios to retrieve the data via json-rpc calls but encounter the CORS issue. I thought it's a problem on a server's side which in most cases it is. But if there's a way to make something on a client side as well, that would be really awesome.