Spaces:
Running
Running
Upload main.rs
Browse files- src/main.rs +0 -1
src/main.rs
CHANGED
|
@@ -1078,7 +1078,6 @@ async fn send_audio(
|
|
| 1078 |
let tg_url = format!("https://api.telegram.org/bot{}/sendAudio", bot_token);
|
| 1079 |
let tg_http = reqwest::Client::builder()
|
| 1080 |
.https_only(true)
|
| 1081 |
-
.http1_only()
|
| 1082 |
.connect_timeout(Duration::from_secs(8))
|
| 1083 |
.timeout(Duration::from_secs(18))
|
| 1084 |
.tcp_keepalive(Duration::from_secs(30))
|
|
|
|
| 1078 |
let tg_url = format!("https://api.telegram.org/bot{}/sendAudio", bot_token);
|
| 1079 |
let tg_http = reqwest::Client::builder()
|
| 1080 |
.https_only(true)
|
|
|
|
| 1081 |
.connect_timeout(Duration::from_secs(8))
|
| 1082 |
.timeout(Duration::from_secs(18))
|
| 1083 |
.tcp_keepalive(Duration::from_secs(30))
|