mirror of
https://github.com/Dangoware/confetti-box.git
synced 2025-04-19 23:32:58 -05:00
Removed unecessary file
This commit is contained in:
parent
73b8398f4a
commit
ebada71e7a
1 changed files with 0 additions and 14 deletions
|
@ -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!()
|
|
||||||
}
|
|
Loading…
Reference in a new issue