From 00f1f6eb0c2cf8a2fcb2a137e2027570662b200b Mon Sep 17 00:00:00 2001 From: BlackDex Date: Tue, 14 Nov 2023 22:08:58 +0100 Subject: [PATCH] Remove another header for websocket connections --- src/util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.rs b/src/util.rs index 2aef77b3..2afd3ed8 100644 --- a/src/util.rs +++ b/src/util.rs @@ -46,6 +46,7 @@ impl Fairing for AppHeaders { // Remove headers which could cause websocket connection issues res.remove_header("X-Frame-Options"); res.remove_header("X-Content-Type-Options"); + res.remove_header("Permissions-Policy"); return; } (_, _) => (),