mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -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 contenTypeAccept = [
|
||||
'application/octet-stream',
|
||||
'application/vnd.npm.install-v1+json; q=1.0',
|
||||
`${jsonContentType} q=0.8, */*`,
|
||||
].join(', ');
|
||||
const contenTypeAccept = `${jsonContentType} q=0.8, */*`;
|
||||
|
||||
/**
|
||||
* Just a helper (`config[key] || default` doesn't work because of zeroes)
|
||||
|
|
Loading…
Add table
Reference in a new issue