From 3ad59218f23e5ecf70a06da9e9e21635a1736921 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Thu, 3 Feb 2022 15:35:15 +0100 Subject: [PATCH] Merge fix --- src/internet_identity/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internet_identity/src/main.rs b/src/internet_identity/src/main.rs index 0c765c55e4..ed85a36def 100644 --- a/src/internet_identity/src/main.rs +++ b/src/internet_identity/src/main.rs @@ -835,7 +835,7 @@ fn security_headers() -> Vec { // infrastructure. ( "Content-Security-Policy".to_string(), - "default-src 'none';\ + format!("default-src 'none';\ connect-src 'self' https://ic0.app;\ img-src 'self' data:;\ script-src '{hash}' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https:;\