We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a80ea commit 0d7cb9eCopy full SHA for 0d7cb9e
themes/jquerymobile.com/functions.php
@@ -2,8 +2,10 @@
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
+// Allow frames from amd-builder.jquerymobile.com for the download builder
6
add_filter( 'jq_content_security_policy', function ( $policy ) {
7
$policy[ 'script-src' ] = "'self' code.jquery.com cdnjs.cloudflare.com";
8
$policy[ 'connect-src' ] = "'self' typesense.jquery.com *.jquerymobile.com";
9
+ $policy[ 'frame-src' ] = "'self' *.jquerymobile.com";
10
return $policy;
11
} );
0 commit comments