Skip to content

Commit

Permalink
Add _isLinkPreload on the request object if it is isLinkPreload. (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Jan 22, 2022
1 parent dad8529 commit f3b10fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ module.exports = {
headers: parseHeaders(request.headers)
};

if (request.isLinkPreload) {
req._isLinkPreload = true;
}

const entry = {
cache: {},
startedDateTime: '',
Expand Down

0 comments on commit f3b10fb

Please sign in to comment.