diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-08-25 16:30:38 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-08-25 16:30:38 +0200 |
commit | d3d7a199130fbb6cf4a6a988d9a6d03264539483 (patch) | |
tree | f755b7232657d745b3c8dd9b2080be76e50604bb /src | |
parent | 639eb16af544ea051d2e091111bcd6427a1644d0 (diff) | |
download | ramaskrik-social-d3d7a199130fbb6cf4a6a988d9a6d03264539483.tar.gz ramaskrik-social-d3d7a199130fbb6cf4a6a988d9a6d03264539483.tar.bz2 ramaskrik-social-d3d7a199130fbb6cf4a6a988d9a6d03264539483.zip |
Reenable serving static files.
These have a rank higher (lower presedence) than the predefined routes.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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![ |