mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
server_server: implement authenticated media endpoints
This commit is contained in:
parent
79053ad052
commit
d3b6718812
2 changed files with 81 additions and 2 deletions
|
|
@ -501,6 +501,8 @@ fn routes(config: &Config) -> Router {
|
|||
.ruma_route(s2s::get_profile_information_route)
|
||||
.ruma_route(s2s::get_keys_route)
|
||||
.ruma_route(s2s::claim_keys_route)
|
||||
.ruma_route(s2s::media_download_route)
|
||||
.ruma_route(s2s::media_thumbnail_route)
|
||||
} else {
|
||||
router
|
||||
.route("/_matrix/federation/*path", any(federation_disabled))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue