Skip to content

Commit

Permalink
feat dotenv again
Browse files Browse the repository at this point in the history
  • Loading branch information
MrExplode committed Oct 24, 2023
1 parent 5fd3169 commit 4742429
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
.env
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
mod docker;
mod jira;
mod types;

use std::sync::Arc;
use std::{env, process};

use actix_web::web::Data;
use actix_web::{App, HttpServer};
use actix_web_httpauth::extractors::bearer;
use dotenv::dotenv;
use webhook::client::WebhookClient;

struct Clients {
Expand All @@ -16,6 +18,7 @@ struct Clients {

#[actix_web::main]
async fn main() -> std::io::Result<()> {
dotenv().ok();
env::set_var("RUST_LOG", "debug");
env_logger::init();

Expand Down

0 comments on commit 4742429

Please sign in to comment.