rename router to routes
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
8affdc43a6
commit
64705fa27d
3 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue