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

Use http for tarball binaries #676

Open
boudo opened this issue Jan 9, 2023 · 1 comment
Open

Use http for tarball binaries #676

boudo opened this issue Jan 9, 2023 · 1 comment

Comments

@boudo
Copy link

boudo commented Jan 9, 2023

In the configuration of the package.json file to use node-pre-gyp

    "dependencies"  : {
      "@mapbox/node-pre-gyp": "1.x"
    },
    "devDependencies": {
      "aws-sdk": "2.x"
    }
    "scripts": {
        "install": "node-pre-gyp install --fallback-to-build"
    },
    "binary": {
        "module_name": "your_module",
        "module_path": "./lib/binding/",
        "host": "https://your_module.s3-us-west-1.amazonaws.com"
    }

Is it possible to use or force the use of a URL in HTTP in the declaration of the binary object as follows ?

    "binary": {
        "host": "http://my-url.com"
    }
@vinzo99
Copy link

vinzo99 commented Jan 11, 2023

+1
we host a private repo that does not support HTTPS inbound connections, hence an option to bypass https requirement would be greatly appreciated.
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

2 participants