@@ -1,5 +1,5 @@
|
|||||||
pub mod client;
|
pub mod client;
|
||||||
pub mod router;
|
pub mod routes;
|
||||||
mod ruma_wrapper;
|
mod ruma_wrapper;
|
||||||
pub mod server;
|
pub mod server;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ pub(crate) fn build(server: &Arc<Server>) -> Router {
|
|||||||
.fallback(not_found)
|
.fallback(not_found)
|
||||||
.with_state(state);
|
.with_state(state);
|
||||||
|
|
||||||
api::router::build(router, server)
|
api::routes::build(router, server)
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn not_found(_uri: Uri) -> impl IntoResponse {
|
async fn not_found(_uri: Uri) -> impl IntoResponse {
|
||||||
|
|||||||
Reference in New Issue
Block a user