From db4ec4c57ece793350660d66f729fb1d6bb87460 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 6 Oct 2023 17:50:49 -0400 Subject: [PATCH] Oops, fix stupid build error --- src/bin/kawari-patch.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/kawari-patch.rs b/src/bin/kawari-patch.rs index 462ce1f..8037912 100644 --- a/src/bin/kawari-patch.rs +++ b/src/bin/kawari-patch.rs @@ -19,7 +19,6 @@ async fn verify_session(Path(game_version): Path, Path(sid): Path) -> impl IntoResponse { let mut headers = HeaderMap::new(); - headers.insert("X-Patch-Unique-Id", sid.parse().unwrap()); (headers) } @@ -30,7 +29,7 @@ async fn main() { let app = Router::new() .route("/http/win32/ffxivneo_release_game/:game_version/:sid", post(verify_session)) - .route("/http/win32/ffxivneo_release_boot/:boot_version", post(verify_boot)); + .route("/http/win32/ffxivneo_release_boot/:boot_version", get(verify_boot)); let addr = SocketAddr::from(([127, 0, 0, 1], 6900)); tracing::info!("Frontier server started on {}", addr);