mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
refactor: remove the feature for multi accept strings
This commit is contained in:
parent
fab8391daf
commit
b6ee1100ef
1 changed files with 1 additions and 3 deletions
|
@ -17,9 +17,7 @@ const encode = function(thing) {
|
|||
|
||||
const jsonContentType = 'application/json';
|
||||
|
||||
const contenTypeAccept = [
|
||||
`${jsonContentType} q=0.8, */*`,
|
||||
].join(', ');
|
||||
const contenTypeAccept = `${jsonContentType} q=0.8, */*`;
|
||||
|
||||
/**
|
||||
* Just a helper (`config[key] || default` doesn't work because of zeroes)
|
||||
|
|
Loading…
Reference in a new issue