tests: Use an env variable for the private seed
This commit is contained in:
committed by
nitnelave
parent
042429a11d
commit
6cd6b412fe
@@ -2,6 +2,7 @@
|
||||
use std::env::var;
|
||||
|
||||
pub const DB_KEY: &str = "LLDAP_DATABASE_URL";
|
||||
pub const PRIVATE_KEY_SEED: &str = "LLDAP_KEY_SEED";
|
||||
|
||||
pub fn database_url() -> String {
|
||||
let url = var(DB_KEY).ok();
|
||||
|
||||
Reference in New Issue
Block a user