fix: remove well-known

next
Timo Kösters 2020-09-15 17:16:55 +02:00
parent 1bf614b0f5
commit 005e00e9b1
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4
2 changed files with 0 additions and 6 deletions

View File

@ -119,7 +119,6 @@ fn setup_rocket() -> rocket::Rocket {
client_server::get_pushers_route,
client_server::set_pushers_route,
client_server::upgrade_room_route,
server_server::well_known_server,
server_server::get_server_version,
server_server::get_server_keys,
server_server::get_server_keys_deprecated,

View File

@ -163,11 +163,6 @@ where
}
}
#[cfg_attr(feature = "conduit_bin", get("/.well-known/matrix/server"))]
pub fn well_known_server() -> Json<String> {
rocket::response::content::Json(json!({ "m.server": "pc.koesters.xyz:59003"}).to_string())
}
#[cfg_attr(feature = "conduit_bin", get("/_matrix/federation/v1/version"))]
pub fn get_server_version() -> ConduitResult<get_server_version::Response> {
Ok(get_server_version::Response {