mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-06-10 00:02:15 +08:00
The wget path passed `NVM_AUTH_HEADER` as the raw header line (e.g. `--header "Bearer secret-token"`), omitting the `Authorization:` header name that the curl path includes. Per the documented usage (`NVM_AUTH_HEADER="Bearer secret-token"`) the value is the credential, so wget was sending a malformed header. Prefix it with `Authorization: ` to match the curl path.
1.3 KiB
Executable File
1.3 KiB
Executable File