diff --git a/README.md b/README.md index 665f73f9b..aa94f00f4 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ fn main() { HttpServer::new( Application::default("/") // enable logger - .middleware(Logger::new(None)) + .middleware(middlewares::Logger::new(None)) // websocket route .resource("/ws/", |r| r.get::()) .route_handler("/", StaticFiles::new("examples/static/", true)))