Serve static files

This commit is contained in:
Bat
2018-05-10 19:01:16 +01:00
parent ee7dfee3ef
commit d3319493d9
4 changed files with 15 additions and 0 deletions
+2
View File
@@ -58,6 +58,8 @@ fn init_pool() -> PgPool {
fn main() {
rocket::ignite()
.mount("/", routes![
routes::static_files,
routes::well_known::host_meta,
routes::well_known::webfinger,