Skip to content

What's the proper way to run? #19

@MikeTheSnowman

Description

@MikeTheSnowman

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions