temp: Temporary commit for wyvest issue (todo: revert)

This commit is contained in:
LynithDev 2024-12-18 21:02:56 +01:00
parent 050509bb0d
commit f5f6e0d54d

View file

@ -106,7 +106,11 @@ pub async fn fetch_advanced(
match result {
Ok(x) => {
let x = x.error_for_status()?;
let x = if !x.url().to_string().starts_with("https://resources") {
tracing::info!(x)//.error_for_status()?;
} else {
x
};
let bytes = if let Some((feed, total)) = &ingress {
let length = x.content_length();