mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
add canary versioning (#8480)
This commit is contained in:
parent
8d12653738
commit
a08d2eee2b
10 changed files with 43 additions and 22 deletions
|
@ -33,7 +33,7 @@ pub fn create_http_client(ca_file: Option<&str>) -> Result<Client, AnyError> {
|
|||
let mut headers = HeaderMap::new();
|
||||
headers.insert(
|
||||
USER_AGENT,
|
||||
format!("Deno/{}", version::DENO).parse().unwrap(),
|
||||
format!("Deno/{}", version::deno()).parse().unwrap(),
|
||||
);
|
||||
let mut builder = Client::builder()
|
||||
.redirect(Policy::none())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue