Skip to content

Commit

Permalink
fix: allow wildcards on live endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloanan committed Apr 13, 2024
1 parent 9b12c22 commit 78d1f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async fn main() {
};

let app = Router::new()
.route("/maps/:world_name/live", get(proxy_live_data))
.route("/maps/:world_name/live/*any", get(proxy_live_data))
.with_state(state)
.nest_service("/", serve_directory)
.layer(
Expand Down

0 comments on commit 78d1f56

Please sign in to comment.