UI: Use a spacier layout
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
@@ -2,7 +2,7 @@ use rocket::fs::NamedFile;
|
||||
use rocket::response::status::NotFound;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
#[get("/<file..>", rank = 3)]
|
||||
#[get("/static/<file..>")]
|
||||
pub async fn static_files(file: PathBuf) -> Result<NamedFile, NotFound<String>> {
|
||||
NamedFile::open(Path::new("static/").join(file))
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user