summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 4a211fd..1c9d63a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -35,7 +35,8 @@ async fn create_app() -> Router {
let api_routes = Router::new()
.nest("/users", routes::user::create_route())
- .nest("/auth", routes::auth::create_route());
+ .nest("/auth", routes::auth::create_route())
+ .nest("/models", routes::model::create_route());
Router::new()
// Map all routes to `/v1/*` namespace