Index: example/example_server.dart |
diff --git a/example/example_server.dart b/example/example_server.dart |
index ca0210babf9dcb71246393bef2f8ab688eba28f4..5abc65e5be3d7bb2ae1417d97462026d49042f11 100644 |
--- a/example/example_server.dart |
+++ b/example/example_server.dart |
@@ -6,7 +6,8 @@ import 'package:shelf/shelf.dart' as shelf; |
import 'package:shelf/shelf_io.dart' as io; |
void main() { |
- var handler = const shelf.Pipeline().addMiddleware(shelf.logRequests()) |
+ var handler = const shelf.Pipeline() |
+ .addMiddleware(shelf.logRequests()) |
.addHandler(_echoRequest); |
io.serve(handler, 'localhost', 8080).then((server) { |