Skip to content

Commit

Permalink
Also match query params in href_matches examples
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic authored Oct 27, 2022
1 parent 9fc2a8b commit b32a227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ An example of using these would be the following, which marks up as safe-to-prer
"prerender": [
{"source": "document",
"where": {"and": [
{"href_matches": "/*"},
{"not": {"href_matches": "/logout"}},
{"href_matches": "/*\\?*"},
{"not": {"href_matches": "/logout\\?*"}},
{"not": {"selector_matches": ".no-prerender"}}
]},
"score": 0.1}
Expand Down

0 comments on commit b32a227

Please sign in to comment.