diff options
author | Akshay <[email protected]> | 2020-08-24 07:07:03 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-08-24 07:07:03 +0100 |
commit | 0a0952e6edb2f4a8c7883b661ef6d4bb4eb14405 (patch) | |
tree | e7bddf107823494ab73de40fba34aaa8abecc9c3 /src/db.rs | |
parent | 28194780aa62b8f02432eb29d857adbd26d88569 (diff) |
parse host header and return full url
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ pub fn open_connection<P>(p: P) -> Result<Connection> | |||
11 | where | 11 | where |
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, |