start with the admin panel
parent
f950141d4d
commit
de6949a3d1
|
@ -1,5 +1,6 @@
|
|||
#![feature(proc_macro_hygiene, decl_macro)]
|
||||
|
||||
pub mod admin;
|
||||
pub mod misc;
|
||||
pub mod models;
|
||||
pub mod schema;
|
||||
|
@ -117,6 +118,7 @@ fn main() {
|
|||
rocket::ignite()
|
||||
.attach(Template::fairing())
|
||||
.mount("/", routes![index, show_post])
|
||||
.mount("/admin", routes![admin::index])
|
||||
.mount("/static", StaticFiles::from("static"))
|
||||
.register(catchers![not_found_404])
|
||||
.launch();
|
||||
|
|
Loading…
Reference in New Issue