fix(web): Missing early return on bad content type

This commit is contained in:
Michael Aaron Murphy 2022-03-30 17:36:31 +02:00 committed by Michael Murphy
parent bc56e493db
commit 0893990653

View file

@ -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 {