aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-02-20 22:57:33 +0000
committerFuwn <[email protected]>2021-02-20 22:57:33 +0000
commit0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7 (patch)
treec4f1201aeea4fbac52fa033cda8c3f72beb062fa /src/main.rs
parentchore: update log (diff)
downloadchan-0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7.tar.xz
chan-0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7.zip
chore: formatting
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/main.rs b/src/main.rs
index c9afc46..5694dd9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,18 +13,18 @@ mod structures;
use rocket_contrib::templates::Template;
fn main() {
- rocket::ignite()
- .attach(Template::fairing())
- .register(catchers![
- ui::not_found
- ])
- .mount("/", routes![
- ui::index,
- ui::boards,
- ui::board
- ])
- .mount("/api/v1/", routes![
- api::post
- ])
- .launch();
+ rocket::ignite()
+ .attach(Template::fairing())
+ .register(catchers![
+ ui::not_found
+ ])
+ .mount("/", routes![
+ ui::index,
+ ui::boards,
+ ui::board
+ ])
+ .mount("/api/v1/", routes![
+ api::post
+ ])
+ .launch();
}