Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: lib/devc.dart

Issue 1022923005: bind to localhost instead of all interfaces, and fix closureWrap (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/runtime/dart_runtime.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/devc.dart
diff --git a/lib/devc.dart b/lib/devc.dart
index 5e8d3aac116f132661d6bce9c07b96458f34da12..199711ab3ee93e07ae61f6c21b73d237c2b10b27 100644
--- a/lib/devc.dart
+++ b/lib/devc.dart
@@ -275,7 +275,7 @@ class CompilerServer {
.addMiddleware(rebuildAndCache)
.addHandler(shelf_static.createStaticHandler(outDir,
defaultDocument: _entryPath));
- await shelf.serve(handler, '0.0.0.0', port);
+ await shelf.serve(handler, 'localhost', port);
Siggi Cherem (dart-lang) 2015/03/19 21:15:02 mmm, I used to have this but change it to 0.0.0.0
Jennifer Messerly 2015/03/19 21:18:24 for flag: can it be host name to connect to? That
compiler.run();
}
« no previous file with comments | « no previous file | lib/runtime/dart_runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698