unsafe inline script

pull/19/head
Niko PLP 1 year ago
parent eae4e3b6c8
commit 7ad7eafb75
  1. 2
      ngaccount/src/main.rs

@ -262,7 +262,7 @@ async fn main() -> anyhow::Result<()> {
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
"default-src 'self' data:; connect-src ipc: https://ipc.localhost 'self' http://192.168.192.2:3031", "default-src 'self' data:; connect-src ipc: https://ipc.localhost 'self' http://192.168.192.2:3031",
#[cfg(not(debug_assertions))] #[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'",
), ),
); );

Loading…
Cancel
Save