This commit is contained in:
parent
d6555edc29
commit
00bb6f152d
8 changed files with 332 additions and 11 deletions
|
@ -9,7 +9,7 @@ use rocket::routes;
|
|||
pub async fn index_page<'r>(ctx: RequestContext) -> impl Responder<'r, 'static> {
|
||||
based::request::assets::DataResponse::new(
|
||||
include_bytes!("../Cargo.toml").to_vec(),
|
||||
"text/toml",
|
||||
"text/toml".to_string(),
|
||||
Some(60 * 60 * 3),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue