Skip to content

Commit 100827e

Browse files
committed
minor change in CSP header
1 parent 61ae65b commit 100827e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/erudika/scoold/ScooldConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3619,7 +3619,7 @@ String getDefaultContentSecurityPolicy() {
36193619
+ " api.imgur.com api.cloudinary.com accounts.google.com " + cspConnectSources() + "; "
36203620
+ "frame-src 'self' *.google.com " + cspFrameSources() + "; "
36213621
+ "frame-ancestors 'self'; "
3622-
+ "font-src 'self' cdnjs.cloudflare.com fonts.gstatic.com fonts.googleapis.com " + cspFontSources() + "; "
3622+
+ "font-src 'self' fonts.gstatic.com fonts.googleapis.com " + cspFontSources() + "; "
36233623
// unsafe-inline required by MathJax!
36243624
+ "style-src 'self' 'unsafe-inline' fonts.googleapis.com accounts.google.com "
36253625
+ (cdnUrl().startsWith("/") ? "" : cdnUrl() + " ") + cspStyleSources() + "; "

0 commit comments

Comments
 (0)