From c3d4d8fa1cdb34a0f5af89d5cd47d4774b53ba04 Mon Sep 17 00:00:00 2001 From: Jijo Bose Date: Sun, 24 Dec 2023 14:17:40 +0530 Subject: [PATCH] pg config --- .gitignore | 1 + src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b115cf5..a9be750 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target test.db .DS_Store +Secrets.toml diff --git a/src/main.rs b/src/main.rs index 297d086..7fa0ff6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@ use app::db::{ initial_migration }; -#[cfg(debug_assertions)] +// #[cfg(debug_assertions)] #[actix_web::main] async fn main() -> std::io::Result<()> { dotenvy::dotenv().ok();