From 503323aac960c76ad6c02e07a5ce958590dc160d Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Sun, 17 Oct 2021 10:19:36 +0200 Subject: [PATCH] Added missing slash to LYCHEE_ENPOINT concatenation Signed-off-by: Louis Vallat --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5052719..716002f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ async fn main() -> Result<(), Box> { let client = Client::builder().build::<_, hyper::Body>(https); let req = Request::builder() .method(Method::POST) - .uri(dotenv::var("LYCHEE_ENDPOINT").unwrap() + "api/Session::init") + .uri(dotenv::var("LYCHEE_ENDPOINT").unwrap() + "/api/Session::init") .body(Body::empty()) .expect("error"); let res = client.request(req).await?;