Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name = "coduck-backend"
anyhow = "1.0"
axum = { version = "0.8.4", features = ["json", "multipart"] }
chrono = { version = "0.4.38", features = ["serde"] }
dotenv = "0.15.0"
dotenvy = "0.15.0"
git2 = "0.20.2"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.133"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async fn health_check() -> &'static str {
}

pub fn build_router() -> Router {
dotenv::dotenv().ok();
dotenvy::dotenv().ok();

let upload_dir = std::env::var("UPLOAD_DIR").expect("UPLOAD_DIR must be set");
let upload_path = PathBuf::from(upload_dir);
Expand Down
Loading