diff options
| author | Fuwn <[email protected]> | 2021-02-20 22:57:33 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-02-20 22:57:33 +0000 |
| commit | 0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7 (patch) | |
| tree | c4f1201aeea4fbac52fa033cda8c3f72beb062fa /src/main.rs | |
| parent | chore: update log (diff) | |
| download | chan-0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7.tar.xz chan-0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7.zip | |
chore: formatting
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 28 |
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(); } |