You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tips/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ If your scripts are loaded from ``cdn.example.com`` and your site is ``example.c
12
12
.. code-block:: javascript
13
13
14
14
whitelistUrls: [
15
-
/example\.com/
15
+
/https?:\/\/((cdn|www)\.)?example\.com/
16
16
]
17
17
18
18
Since this accepts a regular expression, that would catch anything \*.example.com or example.com exactly. See also: :ref:`Config: whitelistUrls<config-whitelist-urls>`.
0 commit comments