Made it so database paths are built properly.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tavern"
|
name = "tavern"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "A blogging system that will allow you to write your blog in Markdown and then display it in HTML using Dioxus."
|
description = "A blogging system that will allow you to write your blog in Markdown and then display it in HTML using Dioxus."
|
||||||
repository = "/CyberMages/tavern"
|
repository = "/CyberMages/tavern"
|
||||||
|
|||||||
@ -50,7 +50,7 @@ impl Database
|
|||||||
.into())
|
.into())
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
let url: String = format!("sqlite:///{db_str}");
|
let url: String = format!("sqlite://{db_str}");
|
||||||
|
|
||||||
// Set up connection options with foreign keys enabled.
|
// Set up connection options with foreign keys enabled.
|
||||||
#[cfg(feature = "publisher")]
|
#[cfg(feature = "publisher")]
|
||||||
|
|||||||
Reference in New Issue
Block a user