Browse Source
Remove another header for websocket connections
pull/4074/head
BlackDex
2 years ago
No known key found for this signature in database
GPG Key ID: 58C80A2AA6C765E1
1 changed files with
1 additions and
0 deletions
-
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; |
|
|
|
} |
|
|
|
(_, _) => (), |
|
|
|