mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fix cli install (#1720)
This commit is contained in:
@@ -525,7 +525,7 @@ async fn cli_install(
|
|||||||
let body = Body::wrap_stream(tokio_util::io::ReaderStream::new(file));
|
let body = Body::wrap_stream(tokio_util::io::ReaderStream::new(file));
|
||||||
let res = ctx
|
let res = ctx
|
||||||
.client
|
.client
|
||||||
.post(format!("{}/rest/rpc/{}", ctx.base_url, guid,))
|
.post(format!("{}rest/rpc/{}", ctx.base_url, guid,))
|
||||||
.header(CONTENT_LENGTH, content_length)
|
.header(CONTENT_LENGTH, content_length)
|
||||||
.body(body)
|
.body(body)
|
||||||
.send()
|
.send()
|
||||||
|
|||||||
Reference in New Issue
Block a user