This is an automated email from the ASF dual-hosted git repository.

more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 91a81ce  KNOX-2367 - Fix rewrite rules for HDFS UI fonts and 
bootstrap.min.css.map (#332)
91a81ce is described below

commit 91a81ce43ac90b8b1eec3ea9ec9cf162efbe25a2
Author: Lokesh Jain <[email protected]>
AuthorDate: Thu Apr 30 19:32:51 2020 +0530

    KNOX-2367 - Fix rewrite rules for HDFS UI fonts and bootstrap.min.css.map 
(#332)
---
 .../src/main/resources/services/hdfsui/3.0.0/rewrite.xml              | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
 
b/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
index 3967ea5..495bc1e 100644
--- 
a/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
+++ 
b/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
@@ -89,6 +89,10 @@
     <rewrite template="{host}/static/{**}?{**}"/>
   </rule>
 
+  <rule dir="IN" name="HDFSUI/inbound/STATIC2" 
pattern="*://*:*/**/hdfs/static/{**}">
+    <rewrite template="{$serviceUrl[HDFSUI]}/static/{**}"/>
+  </rule>
+
   <!-- Intial refresh -->
   <rule dir="OUT" name="HDFSUI/inbound/namenode/refresh-tag" 
pattern="*0;url=dfshealth.html">
     <rewrite 
template="{$prefix[0;url&amp;equals;,url]}/hdfs/dfshealth.html?host={$inboundurl[host]}"/>

Reply via email to