Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the proper way to run? #19

Open
MikeTheSnowman opened this issue Sep 29, 2023 · 2 comments
Open

What's the proper way to run? #19

MikeTheSnowman opened this issue Sep 29, 2023 · 2 comments

Comments

@MikeTheSnowman
Copy link

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?

@dbeal-eth
Copy link

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

@shd101wyy
Copy link

Are there any updates here? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants