wrong port wrong port wrong port lol

main
znpra 1 year ago
parent 69c688e574
commit 7abad0b803

@ -11,7 +11,7 @@ use sqlx::{SqlitePool, sqlite::SqlitePoolOptions};
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
let port = env::var("TTC_PORT").unwrap_or("3000".into()).parse().unwrap(); let port = env::var("TTC_PORT").unwrap_or("9000".into()).parse().unwrap();
let pool = SqlitePoolOptions::new() let pool = SqlitePoolOptions::new()
.max_connections(5) .max_connections(5)
.connect(env::var("TTC_DATABASE_URL") .connect(env::var("TTC_DATABASE_URL")

Loading…
Cancel
Save