A very performant and light (2mb in memory) link shortener and tracker. Written in Rust and React and uses Postgres/SQLite.

check for both postgres and postgresql

Changed files
+1 -1
src
+1 -1
src/lib.rs
··· 24 24 let database_url = std::env::var("DATABASE_URL").ok(); 25 25 26 26 match database_url { 27 - Some(url) if url.starts_with("postgres://") => { 27 + Some(url) if url.starts_with("postgres://") || url.starts_with("postgresql://") => { 28 28 info!("Using PostgreSQL database"); 29 29 let pool = PgPoolOptions::new() 30 30 .max_connections(5)