Browse Source

Remove another header for websocket connections

pull/4074/head
BlackDex 2 years ago
parent
commit
00f1f6eb0c
No known key found for this signature in database GPG Key ID: 58C80A2AA6C765E1
  1. 1
      src/util.rs

1
src/util.rs

@ -46,6 +46,7 @@ impl Fairing for AppHeaders {
// Remove headers which could cause websocket connection issues // Remove headers which could cause websocket connection issues
res.remove_header("X-Frame-Options"); res.remove_header("X-Frame-Options");
res.remove_header("X-Content-Type-Options"); res.remove_header("X-Content-Type-Options");
res.remove_header("Permissions-Policy");
return; return;
} }
(_, _) => (), (_, _) => (),

Loading…
Cancel
Save