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