mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-29 07:09:07 +00:00
Fix spelling/grammar
Signed-off-by: BlackDex <black.dex@gmail.com>
This commit is contained in:
parent
cbaddc8b19
commit
2d46c20874
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ impl Fairing for AppHeaders {
|
|||
res.set_raw_header("X-XSS-Protection", "0");
|
||||
|
||||
// The `Cross-Origin-Resource-Policy` header should not be set on images or on the `icon_external` route.
|
||||
// Else some clients, like the Bitwardem Desktop will fail to download the icons
|
||||
// Otherwise some clients, like the Bitwarden Desktop, will fail to download the icons
|
||||
if !(res.headers().get_one("Content-Type").is_some_and(|v| v.starts_with("image/"))
|
||||
|| req.route().is_some_and(|v| v.name.as_deref() == Some("icon_external")))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue