summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-20 14:43:18 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-20 14:43:18 +0000
commite010223224b28df4b53e763b2a4f2a4fb37cc339 (patch)
tree1c216db47ab74f4e024ed63bb097263a9bb2a773 /src/main.rs
parentf7c2f950a5077a44036da9d0757e2d26fec93b3f (diff)
Create warning app
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 13f8054..66caecd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -56,7 +56,8 @@ async fn create_app() -> Router {
let api_routes = Router::new()
.nest("/users", routes::user::create_route())
.nest("/auth", routes::auth::create_route())
- .nest("/models", routes::model::create_route());
+ .nest("/models", routes::model::create_route())
+ .nest("/warnings", routes::warning::create_route());
Router::new()
.route(