chg: Default db location

This commit is contained in:
Sayantan Santra 2024-10-02 23:46:35 -05:00
parent a7cf0cdf30
commit 3688692c7a
Signed by: SinTan1729
GPG Key ID: 0538DD402EA50898
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ async fn main() -> Result<()> {
let db_location = env::var("db_url")
.ok()
.filter(|s| !s.trim().is_empty())
.unwrap_or(String::from("unset"));
.unwrap_or(String::from("urls.sqlite"));
let port = env::var("port")
.unwrap_or(String::from("4567"))