summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-06 17:58:35 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-06 17:58:35 +0000
commitacc32ccc1650b99e03c390a87e71b0a85b073162 (patch)
tree0de545ee0eb8eba5961c57c0a73ff7031e97613d /src/main.rs
parente6dbcbb42e7a4a973887acde633cc3ee233aad3e (diff)
Create a 3d model object
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