1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-20 18:43:57 +00:00

Updated dependencies to use u2f crate directly, and some style changes

This commit is contained in:
Daniel García 2019-01-04 00:25:38 +01:00
parent c8af62ed48
commit 5f49ecd7f3
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
7 changed files with 110 additions and 114 deletions

View file

@ -68,12 +68,12 @@ struct Cached<R>(R, &'static str);
impl<R> Cached<R> {
fn long(r: R) -> Cached<R> {
// 7 days
Cached(r, "public, max-age=604800".into())
Cached(r, "public, max-age=604800")
}
fn short(r: R) -> Cached<R> {
// 10 minutes
Cached(r, "public, max-age=600".into())
Cached(r, "public, max-age=600")
}
}