1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-04-25 08:27:44 +00:00

Update patch server for axum changes

This commit is contained in:
Joshua Goins 2025-03-23 06:34:59 -04:00
parent d8971b09cc
commit 560ee04159

View file

@ -123,11 +123,11 @@ async fn main() {
let app = Router::new() let app = Router::new()
.route( .route(
"/http/:platform/ffxivneo_release_game/:game_version/:sid", "/http/{platform}/ffxivneo_release_game/{game_version}/{sid}",
post(verify_session), post(verify_session),
) )
.route( .route(
"/http/:platform/ffxivneo_release_boot/*boot_version", "/http/{platform}/ffxivneo_release_boot/{*boot_version}",
get(verify_boot), get(verify_boot),
); // NOTE: for future programmers, this is a wildcard because axum hates the /version/?time=blah format. ); // NOTE: for future programmers, this is a wildcard because axum hates the /version/?time=blah format.