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?;