Skip to content

Commit b61e3e9

Browse files
committed
Revert "fix(router): replaceURL when reacting to a change coming from angularjs"
This reverts commit 0b2d636. The commit does not include proper tests.
1 parent f593552 commit b61e3e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/router/upgrade/src/upgrade.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ export function setUpRouterSync(injector: Injector, $injector: any) {
8181

8282
$injector.get('$rootScope').$on('$locationChangeStart', (_: any, next: string, __: string) => {
8383
url.href = next;
84-
router.navigateByUrl(url.pathname + url.search + url.hash, {replaceUrl: true});
84+
router.navigateByUrl(url.pathname + url.search + url.hash);
8585
});
8686
}

0 commit comments

Comments
 (0)