We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3a0b4 commit 3da84bdCopy full SHA for 3da84bd
lib/documentLoaders/node.js
@@ -114,7 +114,6 @@ module.exports = ({
114
alternate = linkHeaders['alternate'];
115
if(alternate &&
116
alternate.type == 'application/ld+json' &&
117
- // eslint-disable-next-line max-len
118
!(res.headers['content-type'] || '')
119
.match(/^application\/(\w*\+)?json$/)) {
120
res.headers.location = prependBase(url, alternate.target);
0 commit comments