rename router to routes

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-06-17 05:04:00 +00:00
1 parent 8affdc43a6
commit 64705fa27d
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
pub mod client;
pub mod router;
pub mod routes;
mod ruma_wrapper;
pub mod server;
File renamed without changes.
+1 -1
View File
@@ -15,7 +15,7 @@ pub(crate) fn build(server: &Arc<Server>) -> Router {
.fallback(not_found)
.with_state(state);
api::router::build(router, server)
api::routes::build(router, server)
}
async fn not_found(_uri: Uri) -> impl IntoResponse {