aboutsummaryrefslogtreecommitdiff
path: root/src/db.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-08-24 07:07:03 +0100
committerAkshay <[email protected]>2020-08-24 07:07:03 +0100
commit0a0952e6edb2f4a8c7883b661ef6d4bb4eb14405 (patch)
treee7bddf107823494ab73de40fba34aaa8abecc9c3 /src/db.rs
parent28194780aa62b8f02432eb29d857adbd26d88569 (diff)
parse host header and return full url
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.rs b/src/db.rs
index 299e07c..c67e39e 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -11,7 +11,7 @@ pub fn open_connection<P>(p: P) -> Result<Connection>
11where 11where
12 P: AsRef<Path> + fmt::Display, 12 P: AsRef<Path> + fmt::Display,
13{ 13{
14 info!("Opened connection to databse"); 14 info!("Opened connection to database");
15 Ok(Connection::open_with_flags( 15 Ok(Connection::open_with_flags(
16 &p, 16 &p,
17 OpenFlags::SQLITE_OPEN_CREATE | OpenFlags::SQLITE_OPEN_READ_WRITE, 17 OpenFlags::SQLITE_OPEN_CREATE | OpenFlags::SQLITE_OPEN_READ_WRITE,