Skip to content

Commit

Permalink
fix: mount category
Browse files Browse the repository at this point in the history
  • Loading branch information
K0nnyaku committed Nov 29, 2024
1 parent 6a0434a commit 610c8d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use crate::{cors::CORS, routes::account};
use anyhow::Result;
use rocket::fs::NamedFile;
use surrealdb::{engine::remote::ws::Ws, opt::auth::Root, Surreal};
use super::category;
use super::problem;
use super::organization;
#[get("/")]
Expand Down Expand Up @@ -37,6 +38,7 @@ pub async fn rocket() -> rocket::Rocket<rocket::Build> {
.mount("/account", account::routes())
.mount("/problem", problem::routes())
.mount("/org", organization::routes())
.mount("/category", category::routes())
.manage(db)

}

0 comments on commit 610c8d2

Please sign in to comment.