mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
add semicolon after media type in accept statement. Necessary for more pedantic servers such as Artifactory
This commit is contained in:
parent
0feccf9b4a
commit
eb0c87d77a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user