Update dependencies
This commit is contained in:
@ -14,8 +14,8 @@ use crate::util::EventNotifier;
|
||||
use bincode::{deserialize, serialize};
|
||||
use chrono::NaiveDate;
|
||||
use dotenv::dotenv;
|
||||
use rocket_contrib::serve::StaticFiles;
|
||||
use rocket_contrib::templates::Template;
|
||||
use rocket::fs::FileServer;
|
||||
use rocket_dyn_templates::Template;
|
||||
use std::{env, io};
|
||||
|
||||
#[rocket::main]
|
||||
@ -64,7 +64,7 @@ async fn main() -> io::Result<()> {
|
||||
.manage(master_pass)
|
||||
.manage(birth_date)
|
||||
.manage(EventNotifier::new())
|
||||
.mount("/static", StaticFiles::from("static"))
|
||||
.mount("/static", FileServer::from("static"))
|
||||
.mount(
|
||||
"/",
|
||||
rocket::routes![
|
||||
|
||||
Reference in New Issue
Block a user