corrected name of ATTACH_SYMBOL env var

This commit is contained in:
Valerie Wolfe 2024-03-14 14:24:30 -04:00
parent 708c2334e2
commit 54f3fbb331

View file

@ -2,7 +2,7 @@ use std::env::var;
pub type EnvVar = (&'static str, &'static str);
pub static ATTACH_SYMBOL: EnvVar = ("ATTACH_SYMBOL", "*");
pub static ATTACH_SYMBOL: EnvVar = ("REMUX_ATTACH_SYMBOL", "*");
pub fn env_var(envvar: EnvVar) -> String {
var(envvar.0).unwrap_or(envvar.1.to_string())