we will load env file only in debug builds
This commit is contained in:
parent
f90dc006ee
commit
d45ae2b6bd
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ rust_i18n::i18n!("locales");
|
|||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
if cfg!(debug_assertions) {
|
||||
dotenv::from_filename(".env.dev").ok();
|
||||
dotenv::from_filename(".env").ok();
|
||||
}
|
||||
|
||||
log_init();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue