Answer the question
In order to leave comments, you need to log in
Problem with CORS on a remote server, although locally everything is ok. What's the matter?
The react application connects through the cctx library to exchange resources.
I run it locally - it gives a CORS error . I
set the Proxy parameter for the object -
const exchangeObj = new ccxt[exchangeId] (params)
if (proxy) exchangeObj.proxy = 'https://thingproxy.freeboard.io/fetch/'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question