| 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)) {
|
| + return 'ws://127.0.0.1:8181/ws';
|
| + }
|
| Uri serverAddress = Uri.parse(window.location.toString());
|
| return 'ws://${serverAddress.authority}${serverAddress.path}ws';
|
| }
|
|
|