Disable rewriting links in status page with HTML5 mode

The patch to fix the ability to do filtering based on the fragment
identifier enabled HTML5 mode, however, this meant that Angular
would takeover control all the URLs and assume they were all
going to Angular componeents.

In our case, they are not, therefore, we disable the link rewriting
feature of HTML5 mode to resolve this issue.

Change-Id: I25026d8e6a424a0816d5c7863c92486172ed0b21
This commit is contained in:
Mohammed Naser 2018-06-05 17:42:24 -04:00
parent c6bfd19223
commit 6e3ac84d78
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ if (module.hot) {
angular.module('zuulStatus', [], function ($locationProvider) {
$locationProvider.html5Mode({
enabled: true,
requireBase: false
requireBase: false,
rewriteLinks: false
})
$locationProvider.hashPrefix('')
}).controller(