seung-00 commented on code in PR #4892:
URL: https://github.com/apache/zeppelin/pull/4892#discussion_r1827011878


##########
shell/src/main/java/org/apache/zeppelin/shell/terminal/TerminalThread.java:
##########
@@ -52,13 +52,13 @@ public void run() {
     connector.setPort(port);
     jettyServer.addConnector(connector);
 
-    ServletContextHandler context = new 
ServletContextHandler(ServletContextHandler.SESSIONS);
-    context.setContextPath("/terminal/");
+    ServletContextHandler terminalSocketContext = new 
ServletContextHandler(ServletContextHandler.SESSIONS);
+    terminalSocketContext.setContextPath("/terminal/");
 
     // We look for a file, as ClassLoader.getResource() is not
     // designed to look for directories (we resolve the directory later)
     ClassLoader clazz = TerminalThread.class.getClassLoader();
-    URL url = clazz.getResource("html");
+    URL url = clazz.getResource("static");

Review Comment:
   Renamed html directory to static, as index.html is now rendered by Jinja and 
has been moved to an ui_templates directory.



-- 
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: reviews-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to