mirror of
https://github.com/storytold/discord-vocodes.git
synced 2026-10-23 08:05:49 +00:00
revert SSL
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ use hyper::Request;
|
||||
use hyper_tls::HttpsConnector;
|
||||
use log::{error, debug, info, warn};
|
||||
|
||||
const VOCODES_SPEAK_ENDPOINT : &'static str = "https://mumble.stream/speak";
|
||||
const VOCODES_SPEAK_ENDPOINT : &'static str = "http://mumble.stream/speak";
|
||||
|
||||
pub async fn fetch(text: &str, speaker: &str) -> AnyhowResult<Vec<u8>> {
|
||||
let mut request = format!("{{\"speaker\": \"{}\", \"text\": \"{}\"}}", speaker, text);
|
||||
|
||||
Reference in New Issue
Block a user