1
0
mirror of https://github.com/actix/examples synced 2025-06-29 02:10:36 +02:00

Actix Web

This commit is contained in:
Rob Ede
2022-02-06 08:13:24 +00:00
parent 120d33057a
commit 8ae47c8cda
16 changed files with 26 additions and 29 deletions

View File

@ -12,7 +12,7 @@ async fn main() -> std::io::Result<()> {
HttpServer::new(|| {
App::new()
// enable logger - always register actix-web Logger middleware last
// enable logger - always register Actix Web Logger middleware last
.wrap(middleware::Logger::default())
.service(
web::resource("/index.html")