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

Update downloadsUrl to prioritize .npmrc variable #126

Closed
wants to merge 1 commit into from

Commits on Aug 14, 2023

  1. Update downloadsUrl to prioritize .npmrc variable

    This commit updates the `downloadsUrl` variable to prioritize the value from the `.npmrc` file if it exists. The updated code checks `process.env.npm_config_ffmpeg_binaries_url` first and if it's not set, then it falls back to `process.env[BINARIES_URL_ENV_VAR]` or the default value if none of the variables are set. This change allows for more flexibility and customization when it comes to configuring the download URL for ffmpeg binaries.
    LZQCN authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8194fa0 View commit details
    Browse the repository at this point in the history