Compare commits

...

2 Commits

Author SHA1 Message Date
cel 🌸 a10fcb21fd
remove relative path macro 2023-06-23 14:35:57 +01:00
cel 🌸 ef2726a261
update dependencies 2023-06-23 14:35:43 +01:00
3 changed files with 707 additions and 818 deletions

1521
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ rocket = { version = "0.5.0-rc.2", features = ["json"] }
# sqlx = { version = "0.5", default-features = false, features = ["macros", "offline", "migrate"] }
# rocket_db_pools = { version = "0.1.0-rc.2", features = ["sqlx_sqlite"] }
reqwest = { version = "0.11", features = ["json"] }
mastodon-async = "1.1"
mastodon-async = { git = "https://sectorinf.com/cel/mastodon-async.git" }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] }

View File

@ -144,7 +144,7 @@ async fn main() -> std::result::Result<(), rocket::Error> {
}))
.mount("/", routes![home, contact, blog, blogpost, feed, plants])
.register("/", catchers![catcher])
.mount("/", FileServer::from(relative!("static")))
.mount("/", FileServer::from("./static"))
.launch()
.await?;