fix incorrect v1 URL path for URL previews

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-21 23:23:20 -04:00 committed by June
parent 90b8ac0c64
commit 37c040dc77

View file

@ -673,7 +673,7 @@ fn routes() -> Router {
.ruma_route(client_server::create_content_route)
// legacy v1 media routes
.route(
"/_matrix/media/v1/url_preview",
"/_matrix/media/v1/preview_url",
get(client_server::get_media_preview_v1_route)
)
.route(