add static files

we have a favicon now :')

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2021-07-13 03:40:58 +05:30
parent 1175a57539
commit c6262e9e87
10 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#[macro_use]
extern crate rocket;
use rocket::shield::{Shield, NoSniff};
use rocket::shield::{NoSniff, Shield};
use rocket_dyn_templates::Template;
mod models;
@@ -15,6 +15,7 @@ fn rocket() -> _ {
"/",
routes![
routes::index::index,
routes::static_files::static_files,
routes::upload::upload,
routes::submit::submit,
routes::retrieve::retrieve,