mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-03 23:09:17 -05:00
Merge pull request #290 from verdaccio/fix-289-285
fix: Remove accept header that seems cause issues #285 #289
This commit is contained in:
commit
836bb348fb
1 changed files with 1 additions and 5 deletions
|
@ -17,11 +17,7 @@ const encode = function(thing) {
|
||||||
|
|
||||||
const jsonContentType = 'application/json';
|
const jsonContentType = 'application/json';
|
||||||
|
|
||||||
const contenTypeAccept = [
|
const contenTypeAccept = `${jsonContentType} q=0.8, */*`;
|
||||||
'application/octet-stream',
|
|
||||||
'application/vnd.npm.install-v1+json; q=1.0',
|
|
||||||
`${jsonContentType} q=0.8, */*`,
|
|
||||||
].join(', ');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Just a helper (`config[key] || default` doesn't work because of zeroes)
|
* Just a helper (`config[key] || default` doesn't work because of zeroes)
|
||||||
|
|
Loading…
Add table
Reference in a new issue