Skip to content

Commit

Permalink
Updated regular expression example for tips
Browse files Browse the repository at this point in the history
Fixes #226
  • Loading branch information
mattrobenolt committed Dec 1, 2014
1 parent 944d9f5 commit fd2dcf8
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 fd2dcf8

Please sign in to comment.