fix: fix the wrong header name for HTTP authentication
This commit is contained in:
parent
3fc7b30ccd
commit
ee8bcb1e60
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ module.exports = function (req, res, logFacilities, config, next) {
|
||||||
!maximumCachedResponseSizeExceeded &&
|
!maximumCachedResponseSizeExceeded &&
|
||||||
shouldCacheResponse(
|
shouldCacheResponse(
|
||||||
responseCacheControl,
|
responseCacheControl,
|
||||||
req.headers.authentication !== undefined
|
req.headers.authorization !== undefined
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
if (!responseCacheControl["max-age"])
|
if (!responseCacheControl["max-age"])
|
||||||
|
|
Loading…
Reference in a new issue