add static files
we have a favicon now :') Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
parent
1175a57539
commit
c6262e9e87
10 changed files with 12 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue