Skip to content

Commit

Permalink
Docs: Update url allow/block instructions (#265)
Browse files Browse the repository at this point in the history
Currently, if you use a string to mark an allowed or blocked domain/url
you get a noisy deprecation warning about the use of strings for these
parameters. This change updates the instructions to specify the use of
regexes instead which conforms to what Ferrum's code seems to expect
(`pattern`) and silences the warning.
  • Loading branch information
geoffharcourt authored Apr 30, 2024
1 parent 9e2788f commit b3b0d36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ end
`Cuprite`-specific options are:

* options `Hash`
* `:url_blacklist` (Array) - array of strings to match against requested URLs
* `:url_whitelist` (Array) - array of strings to match against requested URLs
* `:url_blacklist` (Array) - array of regexes to match against requested URLs
* `:url_whitelist` (Array) - array of regexes to match against requested URLs


## Debugging
Expand Down

0 comments on commit b3b0d36

Please sign in to comment.