I'm running mise with [settings.url_replacements]:
[settings.url_replacements]
"https://api.github.com" = "https://{my_gh_reverse_proxy}"
This works great for downloads but requires disabling attestations since the client doesn't allow overriding the URL. To enable the desired behavior in mise, this crate needs to support overriding the URL used for api.github.com.
If you are amenable to the change, I'd be happy to add support: AttestationClient::new_with_url.
I'm running
misewith[settings.url_replacements]:This works great for downloads but requires disabling attestations since the client doesn't allow overriding the URL. To enable the desired behavior in
mise, this crate needs to support overriding the URL used forapi.github.com.If you are amenable to the change, I'd be happy to add support:
AttestationClient::new_with_url.