diff --git a/src/routes/app.rs b/src/controllers/app.rs similarity index 100% rename from src/routes/app.rs rename to src/controllers/app.rs diff --git a/src/routes/files.rs b/src/controllers/files.rs similarity index 100% rename from src/routes/files.rs rename to src/controllers/files.rs diff --git a/src/routes/images.rs b/src/controllers/images.rs similarity index 100% rename from src/routes/images.rs rename to src/controllers/images.rs diff --git a/src/routes/mod.rs b/src/controllers/mod.rs similarity index 100% rename from src/routes/mod.rs rename to src/controllers/mod.rs diff --git a/src/main.rs b/src/main.rs index 7db1a4b..ebf36c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,10 @@ mod constants; +mod controllers; mod env; -mod routes; mod utils; +use controllers::app::app; use env::state::AppState; -use routes::app::app; use tokio; use tower_http::trace::{DefaultMakeSpan, DefaultOnResponse, TraceLayer}; use tracing::{info, Level};