2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 03:11:24 +00:00
This commit is contained in:
asonix 2024-03-03 11:13:51 -06:00
parent 4897c90ed7
commit 40bb58d603

View file

@ -1207,9 +1207,9 @@ async fn proxy_alias_from_query<S: Store + 'static>(
let alias = if let Some(alias) = state.repo.related(proxy.clone()).await? {
alias
} else if !state.config.server.read_only {
let stream = download_stream(proxy.as_str(), &state).await?;
let stream = download_stream(proxy.as_str(), state).await?;
let (alias, _, _) = ingest_inline(stream, &state).await?;
let (alias, _, _) = ingest_inline(stream, state).await?;
state.repo.relate_url(proxy, alias.clone()).await?;