Removed unecessary file

This commit is contained in:
G2-Games 2024-10-27 05:40:43 -05:00
parent 73b8398f4a
commit ebada71e7a

View file

@ -1,14 +0,0 @@
use std::{path::PathBuf, sync::{Arc, RwLock}};
use rocket::{fs::NamedFile, get, State};
use crate::database::Database;
#[get("/<ident..>")]
async fn files(
db: &State<Arc<RwLock<Database>>>,
ident: PathBuf
) -> Option<NamedFile> {
//let file = NamedFile::open(Path::new("static/").join(file)).await.ok();
todo!()
}