From d42091352ee0e99efa3e0d3c9d84e5a2371d16f7 Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Sat, 19 Aug 2023 07:39:10 +0300 Subject: [PATCH] unsafe inline script --- ngaccount/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngaccount/src/main.rs b/ngaccount/src/main.rs index 20653b5..470971d 100644 --- a/ngaccount/src/main.rs +++ b/ngaccount/src/main.rs @@ -262,7 +262,7 @@ async fn main() -> anyhow::Result<()> { #[cfg(debug_assertions)] "default-src 'self' data:; connect-src ipc: https://ipc.localhost 'self' http://192.168.192.2:3031", #[cfg(not(debug_assertions))] - "default-src 'self' data:; connect-src ipc: https://ipc.localhost 'self'", + "default-src 'self' data:; connect-src ipc: https://ipc.localhost 'self'; script-src 'unsafe-inline'", ), );