refactor: remove telemetry and fix launcher workflows
Some checks failed
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Deploy telemetry dashboard / deploy (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
Some checks failed
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Deploy telemetry dashboard / deploy (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
This commit is contained in:
@ -7,8 +7,7 @@
|
||||
use super::h2_pool::{H2ConnectFailureKind, SharedH2Connection};
|
||||
use crate::util::fetch;
|
||||
use crate::util::fetch::{
|
||||
DownloadRequest, DownloadResult, DownloadRoute, DownloadRouteSource,
|
||||
Integrity,
|
||||
DownloadRequest, DownloadResult, DownloadRoute, Integrity,
|
||||
};
|
||||
use futures::StreamExt;
|
||||
use http::header::{ACCEPT_ENCODING, RANGE, USER_AGENT};
|
||||
@ -395,16 +394,6 @@ pub(crate) fn request_headers(
|
||||
}
|
||||
}
|
||||
}
|
||||
if route.source == DownloadRouteSource::Official
|
||||
&& fetch::is_official_modrinth_download_url(&request.url)
|
||||
&& let Some(download_meta) = &request.download_meta
|
||||
{
|
||||
if let Ok(value) =
|
||||
HeaderValue::from_str(&download_meta.to_header_value())
|
||||
{
|
||||
headers.insert("modrinth-download-meta", value);
|
||||
}
|
||||
}
|
||||
headers
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user