fix(web): Missing early return on bad content type
This commit is contained in:
parent
bc56e493db
commit
0893990653
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ async fn fetch_favicon(url: &str, favicon_path: &Path, client: &Client) -> Optio
|
|||
content_type,
|
||||
favicon_path
|
||||
);
|
||||
return None;
|
||||
};
|
||||
|
||||
match response.bytes().await {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue