cors-proxy
cors-proxy copied to clipboard
What's the proper way to run?
Hello. I've tried various ways of to get cors-proxy to work, but everytime I've tried to get isomorphic-git to use cors-proxy, the request just hangs. For my testing, I'm just tryig to clone.
So far, here are the commands (with docker) that I've tried:
-
docker run --rm -d -p 9999:9999 -e ALLOW_ORIGIN='*' node:alpine npx @isomorphic-git/cors-proxy start
-
docker run --rm -d -p 9999:9999 -e ALLOW_ORIGIN='http://192.168.222.132' node:alpine npx @isomorphic-git/cors-proxy start
-
docker run --rm -d -p 9999:9999 -e ALLOW_ORIGIN='http://192.168.222.132:5173' node:alpine npx @isomorphic-git/cors-proxy start
And here's how I have my git clond command configured:
git.clone({ fs, http, dir: cloneTargetDir, url: repoUrl, corsProxy: 'http://192.168.222.132:9999'}).then(console.log);
All of these have basically resulted in isomorphic-git just waiting. Are there any ideas on what I'm doing wrong?
bumping because I am running into the same problem and do not know what is going on and there has been no activity
Are there any updates here? Thanks