Browse Source

Update server/src/config.rs

env-variables-configuration-#55
glitch4347 2 years ago committed by GitHub
parent
commit
8ab0718326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      server/src/config.rs

1
server/src/config.rs

@ -97,7 +97,6 @@ fn parse_env(key: &str) -> Option<String> {
if key.starts_with(PREFIX) {
let key = &key[PREFIX.len()..];
Some(key.to_lowercase().replace("__", ".").replace("_", "-"))
} else {
None

Loading…
Cancel
Save