Skip to content

Commit 48e7c7f

Browse files
remove trusted types
1 parent 05f43e5 commit 48e7c7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ static CSP_VALUE: HeaderValue = HeaderValue::from_static(
9292
https://static.cloudflareinsights.com; \
9393
style-src 'self' https://cdnjs.cloudflare.com/ajax/libs/highlight.js/; \
9494
object-src 'none'; \
95-
base-uri 'none'; \
96-
require-trusted-types-for 'script';",
95+
base-uri 'none';",
9796
);
9897

9998
async fn noindex_cache(req: Request, next: Next) -> Response {

0 commit comments

Comments
 (0)