0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-24 23:55:46 -05:00

Merge pull request #295 from jrussellsmyth/fix-accept-header

Correct accept header set for registry requests.
This commit is contained in:
Juan Picado @jotadeveloper 2017-08-17 05:36:40 +02:00 committed by GitHub
commit 8153e1b109

View file

@ -17,7 +17,7 @@ const encode = function(thing) {
const jsonContentType = 'application/json';
const contenTypeAccept = `${jsonContentType} q=0.8, */*`;
const contenTypeAccept = `${jsonContentType}; q=0.8, */*`;
/**
* Just a helper (`config[key] || default` doesn't work because of zeroes)