You are viewing a single comment's thread from:

RE: Atompek Swap & CORs

in Synergy Builders6 days ago

try running it locally in a simple http server like this:
go into the folder with the code and run python3 -m http.server 9000 -d . and see if it works, you may not be able to make the cross api calls from your host, it might not be the code itself.

Sort:  

It was working but it wasn't swapping the correct amounts I played around with it and now it's giving me this.

Ill be adding logging and debugging in the window of the browser tomorrow.