cors-proxy icon indicating copy to clipboard operation
cors-proxy copied to clipboard

What's the proper way to run?

Open MikeTheSnowman opened this issue 1 year ago • 2 comments

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?

MikeTheSnowman avatar Sep 29 '23 11:09 MikeTheSnowman

bumping because I am running into the same problem and do not know what is going on and there has been no activity

dbeal-eth avatar Nov 22 '23 12:11 dbeal-eth

Are there any updates here? Thanks

shd101wyy avatar Jul 16 '24 14:07 shd101wyy