diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 4e96a65..4876b35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,8 @@ fn main() { .mount("/", routes![ home_controller::index, - home_controller::index_json]) + home_controller::index_json, + home_controller::public_file]) .mount("/posts", routes![ posts_controller::new, |