diff --git a/example/json.dart b/example/json.dart index b273b803..e5e6dcbe 100644 --- a/example/json.dart +++ b/example/json.dart @@ -32,7 +32,7 @@ main() async { serverMain(_) async { var app = new Angel(); - var http = new AngelHttp.custom(app, startShared); // Run a cluster + var http = new AngelHttp.custom(app, startShared, useZone: false); // Run a cluster app.get('/', (req, res) { return res.serialize({ diff --git a/performance/hello/main.dart b/performance/hello/main.dart index cb6a054f..f05aa073 100644 --- a/performance/hello/main.dart +++ b/performance/hello/main.dart @@ -24,7 +24,7 @@ main() async { } void start(int id) { - var app = new Angel(reflector: MirrorsReflector()); + var app = new Angel(); var http = new AngelHttp.custom(app, startShared, useZone: false); app.get('/', (req, res) => res.write('Hello, world!'));