We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58d4fb commit cfc8b41Copy full SHA for cfc8b41
src/ng/location.js
@@ -912,7 +912,7 @@ function $LocationProvider() {
912
// update $location when $browser url changes
913
$browser.onUrlChange(function(newUrl, newState) {
914
915
- if (isUndefined(stripBaseUrl(appBaseNoFile, newUrl))) {
+ if (!startsWith(newUrl, appBaseNoFile)) {
916
// If we are navigating outside of the app then force a reload
917
$window.location.href = newUrl;
918
return;
0 commit comments