aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d01d817..6a9e488 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -38,6 +38,7 @@ pub fn build_rocket() -> Result<rocket::Rocket, Box<dyn Error>> {
event::new,
event::create,
])
+ .mount("/", rocket_contrib::serve::StaticFiles::from("public/"))
.mount("/rooms", routes![room::get_rooms_json, room::list_rooms, room::new_room, room::create_room])
.mount("/films", routes![film::get_films_json, film::list_films, film::new_film, film::create_film])
.mount("/screenings", routes![