mirror of
https://codeberg.org/icewind/log-archiver.git
synced 2026-06-03 17:44:06 +02:00
cargo updates
This commit is contained in:
parent
0842c3e136
commit
a650f7f970
4 changed files with 411 additions and 432 deletions
|
|
@ -13,9 +13,9 @@ use zip::ZipArchive;
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), MainError> {
|
||||
let database_url = dotenv::var("DATABASE_URL")?;
|
||||
let api_host = dotenv::var("API_HOST").unwrap_or_else(|_| "https://logs.tf".to_string());
|
||||
let log_target = PathBuf::from(dotenv::var("LOG_TARGET")?);
|
||||
let database_url = dotenvy::var("DATABASE_URL")?;
|
||||
let api_host = dotenvy::var("API_HOST").unwrap_or_else(|_| "https://logs.tf".to_string());
|
||||
let log_target = PathBuf::from(dotenvy::var("LOG_TARGET")?);
|
||||
|
||||
let args = args();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue