diff options
| author | Xe Iaso <me@christine.website> | 2022-07-11 11:16:54 +0000 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-07-11 11:16:54 +0000 |
| commit | 4e57715b09c064d9729727a6d28847242cdb93a7 (patch) | |
| tree | 10a9f95033fb0723a78185d1286bececf3fb5840 /src/app | |
| parent | b0a87b890e2f97842ff738166207341ba5f11e58 (diff) | |
| download | xesite-4e57715b09c064d9729727a6d28847242cdb93a7.tar.xz xesite-4e57715b09c064d9729727a6d28847242cdb93a7.zip | |
handlers/notes: create, update, delete, tailauth too
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index 24eabc5..8ebe152 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -77,7 +77,7 @@ pub async fn init(cfg: PathBuf) -> Result<State> { let talks = crate::post::load(cfg.clone(), "talks").await?; let mut everything: Vec<Post> = vec![]; let mgr = RusqliteConnectionManager::new( - env::var("DATABASE_URL").unwrap_or("./var/waifud.db".to_string()), + env::var("DATABASE_URL").unwrap_or("./xesite.db".to_string()), ); let pool = bb8::Pool::builder().build(mgr).await?; |
