add config for max views, expiration and advanced

This commit is contained in:
2022-03-01 15:24:17 +01:00
parent ef39f9ec0b
commit d112eba8fe
9 changed files with 220 additions and 133 deletions

View File

@@ -110,7 +110,7 @@ struct Status {
max_size: usize,
}
pub fn service() -> Scope {
pub fn init() -> Scope {
web::scope("/notes")
.service(one)
.service(create)