mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
fix readme
This commit is contained in:
parent
40c1d3b711
commit
657efb8cce
@ -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::<MyWebSocket>())
|
||||
.route_handler("/", StaticFiles::new("examples/static/", true)))
|
||||
|
Loading…
Reference in New Issue
Block a user