Skip to content

Commit

Permalink
Fix spelling/grammar
Browse files Browse the repository at this point in the history
Signed-off-by: BlackDex <black.dex@gmail.com>
  • Loading branch information
BlackDex committed Feb 4, 2025
1 parent b49d11d commit 749c022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
{
Expand Down

0 comments on commit 749c022

Please # to comment.