Skip to content

Commit 5226bf9

Browse files
committed
v0.2.4
1 parent 3aafd65 commit 5226bf9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pony"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
edition = "2021"
55
build = "build.rs"
66

src/h2_op/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub fn hysteria2_conn(
2929
let _alpn = h2.alpn.as_ref().map(|v| v.join(",")).unwrap_or_default();
3030

3131
if let Some(token) = token {
32-
let mut url = Url::parse(&format!("hysteria://{token}@{hostname}:{port}"))?;
32+
let mut url = Url::parse(&format!("hysteria2://{token}@{hostname}:{port}"))?;
3333
url.query_pairs_mut()
3434
.append_pair("host", &h2.host)
3535
.append_pair("insecure", &h2.insecure.to_string())

0 commit comments

Comments
 (0)