create new type SafeString to sanitise and store unsafe html

This commit is contained in:
Trinity Pointard
2018-06-11 11:43:27 +02:00
committed by Your Name
parent e7cadbf764
commit bb1442db8a
2 changed files with 104 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ mod models;
mod schema;
mod routes;
mod utils;
mod safe_string;
lazy_static! {
pub static ref BASE_URL: String = env::var("BASE_URL")