Added option to have an imprint

The environment Variable IMPRINT_URL simply adds a /imprint button in footer to the url
This commit is contained in:
Uli Roth
2024-09-23 15:44:21 +02:00
parent 847fc9677d
commit fca8761515
5 changed files with 12 additions and 0 deletions
+4
View File
@@ -38,6 +38,10 @@ pub static ref ALLOW_FILES: bool = std::env::var("ALLOW_FILES")
.unwrap_or("true".to_string())
.parse()
.unwrap();
pub static ref IMPRINT_URL: String = std::env::var("IMPRINT_URL")
.unwrap_or("".to_string())
.parse()
.unwrap();
}
// THEME