mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-25 00:17:45 +00:00
Update patch server for axum changes
This commit is contained in:
parent
d8971b09cc
commit
560ee04159
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue