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:
parent
0feccf9b4a
commit
eb0c87d77a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue