Open beccaking opened 4 years ago
CORS Anywhere is a Node.js application. A FTP server just serves files.
You need to upload the CORS Anywhere application to a server (=hardware/runtime environment) that launches the CORS Anywhere server (=application) via Node.js. Take a look at the README, which shows an example via Heroku.
Hi Rob, I'm trying to set up a version of cors-anywhere that can run on my own server, and I'm still getting the "No 'Access-Control-Allow-Origin' header is present on the requested resource" error and a failed post request. The API call works when I use your live version on Heroku.
I cloned the site and moved that folder into my site's main public_html folder, and I'm seeing the right cors-anywhere files at that URL. Right now, I have the post request made to www.http://myFTPhostsite.com/cors-anywhere/https://www.theapi.com?variables=correct
Is there a step I missed in here somewhere?