Sign up form and other stuff
[recipes.git] / backend / src / consts.rs
index d84c21d..896fbdd 100644 (file)
@@ -1,4 +1,6 @@
+
 pub const FILE_CONF: &str = "conf.ron";
 pub const DB_DIRECTORY: &str = "data";
-pub const DB_FILENAME: &str = "data/recipes.sqlite";
-pub const SQL_FILENAME: &str = "sql/version_{VERSION}.sql";
\ No newline at end of file
+pub const DB_FILENAME: &str = "recipes.sqlite";
+pub const SQL_FILENAME: &str = "sql/version_{VERSION}.sql";
+pub const VALIDATION_TOKEN_DURATION: i64 = 1 * 60 * 60; // 1 hour. [s].
\ No newline at end of file