Fix .env path traversal issue

pull/391/head
Daniel García 6 years ago
parent a72809b225
commit 89840790e7
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

@ -44,7 +44,7 @@ macro_rules! make_config {
impl ConfigBuilder {
fn from_env() -> Self {
dotenv::dotenv().ok();
dotenv::from_path(".env").ok();
let mut builder = ConfigBuilder::default();
$($(

Loading…
Cancel
Save