mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 15:05:37 +01:00
Use vault
This commit is contained in:
@@ -2,6 +2,8 @@ pub mod config;
|
||||
pub mod services;
|
||||
pub mod views;
|
||||
|
||||
use dotenv::dotenv;
|
||||
|
||||
use sentry::{integrations::debug_images::DebugImagesIntegration, types::Dsn, ClientOptions};
|
||||
use std::{net::SocketAddr, str::FromStr};
|
||||
use tracing::info;
|
||||
@@ -10,6 +12,8 @@ use crate::views::get_router;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
dotenv().ok();
|
||||
|
||||
tracing_subscriber::fmt()
|
||||
.with_target(false)
|
||||
.compact()
|
||||
|
||||
Reference in New Issue
Block a user