feat: add note id size option

This commit is contained in:
2023-05-29 16:34:59 +02:00
parent 2bff6a37db
commit a323d48c41
4 changed files with 25 additions and 9 deletions

View File

@@ -30,6 +30,10 @@ lazy_static! {
.unwrap_or("true".to_string())
.parse()
.unwrap();
pub static ref ID_LENGTH: u32 = std::env::var("ID_LENGTH")
.unwrap_or("32".to_string())
.parse()
.unwrap();
}
// THEME