Skip to content

Commit

Permalink
Updated regular expression example for tips
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt authored and Mathieu Ghaleb committed Sep 9, 2015
1 parent 57ced55 commit 86abb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tips/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If your scripts are loaded from ``cdn.example.com`` and your site is ``example.c
.. code-block:: javascript
whitelistUrls: [
/example\.com/
/https?:\/\/((cdn|www)\.)?example\.com/
]
Since this accepts a regular expression, that would catch anything \*.example.com or example.com exactly. See also: :ref:`Config: whitelistUrls<config-whitelist-urls>`.
Expand Down

0 comments on commit 86abb91

Please sign in to comment.