diff --git a/src/main.rs b/src/main.rs index 5b0f996..5052719 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()) + .uri(dotenv::var("LYCHEE_ENDPOINT").unwrap() + "api/Session::init") .body(Body::empty()) .expect("error"); let res = client.request(req).await?; @@ -24,3 +24,4 @@ async fn main() -> Result<(), Box> { Ok(()) } +