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

add semicolon after media type in accept statement. Necessary for more pedantic servers such as Artifactory

This commit is contained in:
J. Russell Smyth 2017-08-15 23:59:00 +00:00
parent 0feccf9b4a
commit eb0c87d77a

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)