pan3793 commented on code in PR #4795:
URL: https://github.com/apache/kyuubi/pull/4795#discussion_r1218096592


##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/ApiRootResource.scala:
##########
@@ -82,4 +82,13 @@ private[server] object ApiRootResource {
     handler.addServlet(holder, "/*")
     handler
   }
+
+  def getEngineUIProxyHandler(fe: KyuubiRestFrontendService): 
ServletContextHandler = {
+    val proxyServlet = new EngineUIProxyServlet()
+    val holder = new ServletHolder(proxyServlet)
+    val proxyHandler = new 
ServletContextHandler(ServletContextHandler.NO_SESSIONS);
+    
proxyHandler.setContextPath(s"/${EngineUIProxyServlet.ENGINE_UI_PROXY_PATH}");

Review Comment:
   ```suggestion
       proxyHandler.setContextPath("/engine-ui");
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to