We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a65e3b0 commit 03e2b6fCopy full SHA for 03e2b6f
themes/jquerymobile.com/functions.php
@@ -0,0 +1,9 @@
1
+<?php
2
+
3
+// Allow scripts from cdnjs.cloudflare.com for the download builder
4
+// Allow connections to the amd builder subdomain for the download builder
5
+add_filter( 'jq_content_security_policy', function ( $policy ) {
6
+ $policy[ 'script-src' ] = "'self' code.jquery.com cdnjs.cloudflare.com";
7
+ $policy[ 'connect-src' ] = "'self' typesense.jquery.com *.jquerymobile.com";
8
+ return $policy;
9
+} );
0 commit comments