Skip to content

Commit

Permalink
fix: loading .env in env before Common init
Browse files Browse the repository at this point in the history
  • Loading branch information
tm26a21p committed Jun 10, 2024
1 parent 85ff27b commit 90ef7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ async fn main()
{
tracing_subscriber::fmt::init();

let state = Common::new();
dotenv().ok();
let state = Common::new();

let app = Router::new()
// pages routes
Expand Down

0 comments on commit 90ef7c0

Please sign in to comment.