Compare commits

..

No commits in common. "c3a7d0ee7b65ebd0991e8467a8fc70ba0c3c9edf" and "9fca283ab1cbc317a529e42bfa134cd18bf0c250" have entirely different histories.

View file

@ -9,7 +9,6 @@ async fn main() -> Result<(), std::io::Error> {
HttpServer::new(|| { HttpServer::new(|| {
App::new() App::new()
.service(hello) .service(hello)
.service(get_articles)
.service(Files::new("/", "./public").index_file("index.html")) .service(Files::new("/", "./public").index_file("index.html"))
}) })
.bind(("0.0.0.0", 8080))? .bind(("0.0.0.0", 8080))?