0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

fix: Remove accept header that seems cause issues #285 #289 and npm search fails

This commit is contained in:
Juan Picado @jotadeveloper 2017-08-12 12:51:06 +02:00
parent 368fe92a10
commit fab8391daf
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -18,8 +18,6 @@ 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(', ');