fix: fixed inner router not responding

This commit is contained in:
Nineko 2023-12-25 02:04:46 +01:00 committed by GitHub
parent 87c5def115
commit b9d1295f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -456,7 +456,7 @@ fn routes() -> Router {
.ruma_route(client_server::get_relating_events_with_rel_type_route)
.ruma_route(client_server::get_relating_events_route)
.ruma_route(client_server::get_hierarchy_route)
.nest("*", server_routes())
.nest("/", server_routes())
.route(
"/_matrix/client/r0/rooms/:room_id/initialSync",
get(initial_sync),