You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by mo...@apache.org on 2018/08/13 15:15:53 UTC

knox git commit: KNOX-1420 - Add app.css path for Zeppelin's style sheet (Prabhjyot Singh via Sandeep More)

Repository: knox
Updated Branches:
  refs/heads/master 4220e8bb2 -> 401680462


KNOX-1420 - Add app.css path for Zeppelin's style sheet (Prabhjyot Singh via Sandeep More)


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/40168046
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/40168046
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/40168046

Branch: refs/heads/master
Commit: 4016804624b610cbc7e45b1758ff2c26941dc54c
Parents: 4220e8b
Author: Sandeep More <mo...@apache.org>
Authored: Mon Aug 13 11:15:46 2018 -0400
Committer: Sandeep More <mo...@apache.org>
Committed: Mon Aug 13 11:15:46 2018 -0400

----------------------------------------------------------------------
 .../main/resources/services/zeppelinui/0.6.0/service.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/40168046/gateway-service-definitions/src/main/resources/services/zeppelinui/0.6.0/service.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/zeppelinui/0.6.0/service.xml b/gateway-service-definitions/src/main/resources/services/zeppelinui/0.6.0/service.xml
index 0b29f97..c5a5afb 100644
--- a/gateway-service-definitions/src/main/resources/services/zeppelinui/0.6.0/service.xml
+++ b/gateway-service-definitions/src/main/resources/services/zeppelinui/0.6.0/service.xml
@@ -40,6 +40,17 @@
       <rewrite apply="ZEPPELINUI/zeppelin/inbound/rootAppScript" to="request.url"/>
     </route>
 
+    <route path="/zeppelin/app.*.css">
+      <rewrite apply="ZEPPELINUI/zeppelin/inbound/rootAppScript" to="request.url"/>
+    </route>
+
+    <route path="/zeppelin/*.woff">
+      <rewrite apply="ZEPPELINUI/zeppelin/inbound/rootAppScript" to="request.url"/>
+    </route>
+
+    <route path="/zeppelin/app.*.ttf">
+      <rewrite apply="ZEPPELINUI/zeppelin/inbound/rootAppScript" to="request.url"/>
+    </route>
 
     <route path="/zeppelin/api/**">
       <rewrite apply="ZEPPELINUI/zeppelin/inbound/api" to="request.url"/>