Compare commits

..

No commits in common. "a10fcb21fd1323951398a25c61237f1c94424e43" and "7429b9bb38a3ba2f3e4896f883f56c787c8f732b" have entirely different histories.

3 changed files with 824 additions and 713 deletions

1533
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 = { git = "https://sectorinf.com/cel/mastodon-async.git" }
mastodon-async = "1.1"
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("./static"))
.mount("/", FileServer::from(relative!("static")))
.launch()
.await?;