Skip to content

how to Skip request of page at preNavigationHooks #1719

Answered by LeMoussel
am1ru1 asked this question in Q&A
Discussion options

You must be logged in to vote

You can do it with

transformRequestFunction: (request) => {
   if (request.url.match(mySkipRegex)) {
    return null;
}
return request;
}

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by am1ru1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants