fix: fix production issues
This commit is contained in:
@@ -167,6 +167,7 @@ impl ForwardedRelatedInfo {
|
||||
.as_ref()
|
||||
.and_then(|s| s.host.as_deref())
|
||||
.or(self.x_forwarded_host.as_deref())
|
||||
.or(self.host.as_deref())
|
||||
.or(self.uri.host())
|
||||
}
|
||||
|
||||
|
||||
@@ -801,11 +801,6 @@ pub async fn scrape_mikan_poster_meta_from_image_url(
|
||||
.write(storage_path.clone(), poster_data)
|
||||
.await?;
|
||||
|
||||
tracing::warn!(
|
||||
poster_str = poster_str.to_string(),
|
||||
"mikan poster meta extracted"
|
||||
);
|
||||
|
||||
MikanBangumiPosterMeta {
|
||||
origin_poster_src: origin_poster_src_url,
|
||||
poster_src: Some(poster_str.to_string()),
|
||||
|
||||
Reference in New Issue
Block a user