1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00

do not re-export HttpServer from server module

This commit is contained in:
Nikolay Kim
2018-04-06 08:40:11 -07:00
parent 12586db15c
commit 2dafd9c681
21 changed files with 47 additions and 47 deletions

View File

@ -49,7 +49,7 @@ fn main() {
let _ = env_logger::init();
let sys = actix::System::new("multipart-example");
let _ = server::new(
server::new(
|| App::new()
.middleware(middleware::Logger::default()) // <- logger
.resource("/multipart", |r| r.method(http::Method::POST).a(index)))