show file expiry on download page
This commit is contained in:
parent
6bf83dcbe6
commit
3125e1f4e7
2 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,9 @@ use tokio::{fs::File, sync::RwLock};
|
|||
|
||||
const APP_NAME: &str = "transbeam";
|
||||
|
||||
const DATE_DISPLAY_FORMAT: &[time::format_description::FormatItem] =
|
||||
time::macros::format_description!("[year]-[month]-[day]");
|
||||
|
||||
struct AppState {
|
||||
file_store: RwLock<FileStore>,
|
||||
config: Config,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue