Skip to content

Commit

Permalink
Fix: Fix .env not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Oct 2, 2023
1 parent ff9f5c5 commit 1c7cabf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sub-image/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use tracing::{info, Level};
#[tokio::main]
async fn main() {
let _ = dotenv::from_path("../.env");
let _ = dotenv::dotenv();
let app = Router::new()
.route("/", get(routes::root_get))
.route("/convert", post(routes::convert_post))
Expand Down

0 comments on commit 1c7cabf

Please sign in to comment.