From 6e3ac84d78898f83dae544e04696d73dabb173eb Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Tue, 5 Jun 2018 17:42:24 -0400 Subject: [PATCH] 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 --- web/status.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/status.js b/web/status.js index b02e85f08c..ddea5cf415 100644 --- a/web/status.js +++ b/web/status.js @@ -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(