Add V2 plugin
This commit is contained in:
@@ -357,12 +357,14 @@ async fn streamed_fetch(
|
||||
return format!(r#"{{"success":false,"body":"Invalid header JSON"}}"#);
|
||||
}
|
||||
|
||||
let body_decoded = general_purpose::STANDARD.decode(body.as_bytes()).unwrap();
|
||||
|
||||
let client = reqwest::Client::new();
|
||||
let response = client
|
||||
.post(&url)
|
||||
.headers(headers)
|
||||
.timeout(Duration::from_secs(240))
|
||||
.body(body)
|
||||
.body(body_decoded)
|
||||
.send()
|
||||
.await;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"productName": "RisuAI",
|
||||
"mainBinaryName": "RisuAI",
|
||||
"version": "143.9.1",
|
||||
"version": "144.0.0",
|
||||
"identifier": "co.aiclient.risu",
|
||||
"plugins": {
|
||||
"updater": {
|
||||
|
||||
Reference in New Issue
Block a user