fix incorrect v1 URL path for URL previews
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
90b8ac0c64
commit
37c040dc77
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue