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:
commit
8153e1b109
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