Merge "Change rewriteLinks to false"

This commit is contained in:
Zuul 2017-11-30 23:50:21 +00:00 committed by Gerrit Code Review
commit c135a42d80
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,8 @@
.config(['$locationProvider', function($locationProvider) {
$locationProvider.html5Mode({
enabled: true,
requireBase: false
requireBase: false,
rewriteLinks: false,
});
}])
.config(['$provide', '$windowProvider', function($provide, $windowProvider){

View File

@ -35,7 +35,7 @@
it('should set html5 mode', function() {
expect($locationProvider.html5Mode)
.toHaveBeenCalledWith({ enabled: true, requireBase: false });
.toHaveBeenCalledWith({ enabled: true, requireBase: false, rewriteLinks: false });
});
});