UI: Use a spacier layout
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
parent
3e10267caf
commit
53d96865ad
11 changed files with 174 additions and 121 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue