Chromium Code Reviews| Index: runtime/observatory/lib/src/repositories/target.dart |
| diff --git a/runtime/observatory/lib/src/repositories/target.dart b/runtime/observatory/lib/src/repositories/target.dart |
| index 69290fcc6380a16894caaa39e91012090394a5f2..185a3b8cffeb114975167b0bd182169d4b3e6239 100644 |
| --- a/runtime/observatory/lib/src/repositories/target.dart |
| +++ b/runtime/observatory/lib/src/repositories/target.dart |
| @@ -101,6 +101,9 @@ class TargetRepository implements M.TargetRepository { |
| } |
| static String _networkAddressOfDefaultTarget() { |
| + if (!identical(1, 1.0)) { |
|
rmacnak
2017/02/08 18:34:18
// Dartium
Cutch
2017/02/09 22:45:50
Done.
|
| + return 'ws://127.0.0.1:8181/ws'; |
| + } |
| Uri serverAddress = Uri.parse(window.location.toString()); |
| return 'ws://${serverAddress.authority}${serverAddress.path}ws'; |
| } |