Skip to content

Commit 1092d26

Browse files
committed
miscweb: Allow blog.jquery.com images on podcast.jquery.com
1 parent b908c20 commit 1092d26

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/profile/templates/miscweb/site.nginx.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ server {
2626
# script-src: add 'wasm-unsafe-eval' for WebAssembly-driven search on
2727
# bugs.jquery.com, bugs.jqueryui.com, and plugins.jquery.com
2828
# img-src: allow secure.gravatar.com images on plugins.jquery.com
29+
# img-src: allow blog.jquery.com images on podcast.jquery.com
2930
# media-src: allow content.jquery.com media on podcast.jquery.com
30-
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint";
31+
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' blog.jquery.com secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint";
3132
<%- end -%>
3233

3334
<%- if @site['allow_php'] -%>

0 commit comments

Comments
 (0)