fix incorrect v1 URL path for URL previews

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-23 01:49:27 -04:00
1 parent 90b8ac0c64
commit 37c040dc77
1 file changed
+1 -1
+1 -1
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(