Skip to content

Commit ce68d48

Browse files
improve CSP
1 parent ca0839e commit ce68d48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ static CSP_VALUE: HeaderValue = HeaderValue::from_static(
8888
"default-src 'self'; \
8989
img-src 'self' data:; \
9090
connect-src 'self' https://*.giveip.io; \
91-
script-src 'self' https://cdnjs.cloudflare.com/ajax/libs/highlight.js/; \
91+
script-src 'self' https://cdnjs.cloudflare.com/ajax/libs/highlight.js/ \
92+
https://static.cloudflareinsights.com; \
9293
style-src 'self'; \
9394
object-src 'none'; \
9495
base-uri 'none'; \

0 commit comments

Comments
 (0)