| Index: runtime/bin/vmservice/client/lib/src/app/location_manager.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/app/location_manager.dart b/runtime/bin/vmservice/client/lib/src/app/location_manager.dart
|
| index 11fb0a036c0704d502565ad5ec6cb305ea732b1c..20f4aa1ced68fffc85ad71f1a033f8452357abb0 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/app/location_manager.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/app/location_manager.dart
|
| @@ -75,11 +75,11 @@ abstract class LocationManager extends Observable {
|
| /// Uses location.hash to encode application urls.
|
| class HashLocationManager extends LocationManager {
|
| void _onStartup() {
|
| - String initialPath = '/${window.location.hash}';
|
| + String initialPath = '${window.location.hash}';
|
| if ((window.location.hash == '') || (window.location.hash == '#')) {
|
| - initialPath = '/#${_initialPath}';
|
| + initialPath = '#${_initialPath}';
|
| }
|
| - window.history.replaceState(initialPath, document.title, initialPath);
|
| + window.history.pushState(initialPath, document.title, initialPath);
|
| _go(window.location.hash);
|
| }
|
|
|
|
|