cleanup and fixed faulty perverzija urls

This commit is contained in:
Simon
2025-06-06 08:51:24 +00:00
parent 60a07269f6
commit ec1d7b8eef
4 changed files with 21 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
#![warn(unused_extern_crates)]
#![allow(non_snake_case)]
extern crate diesel;
use diesel::{r2d2::{self, ConnectionManager}, SqliteConnection};
use dotenvy::dotenv;
@@ -19,7 +19,7 @@ type DbPool = r2d2::Pool<ConnectionManager<SqliteConnection>>;
#[ntex::main]
async fn main() -> std::io::Result<()> {
std::env::set_var("RUST_BACKTRACE", "1");
// std::env::set_var("RUST_BACKTRACE", "1");
env_logger::init(); // You need this to actually see logs
dotenv().ok();