Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix support for some legacy registry servers (#5609)
Some registry servers do not recognize `application/vnd.npm.install-v1+json` in the Accept header, so here we add `application/json` as fallback.
- Loading branch information