mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 05:26:59 +00:00
19 lines
420 B
Rust
19 lines
420 B
Rust
pub use rocket::http::Status;
|
|
pub use rocket::response::Redirect;
|
|
use rocket::Rocket;
|
|
|
|
mod channels;
|
|
mod guild;
|
|
mod onboard;
|
|
mod root;
|
|
mod users;
|
|
|
|
pub fn mount(rocket: Rocket) -> Rocket {
|
|
rocket
|
|
.mount("/", routes![root::root])
|
|
.mount("/onboard", onboard::routes())
|
|
.mount("/users", users::routes())
|
|
.mount("/channels", channels::routes())
|
|
.mount("/guild", guild::routes())
|
|
}
|