Github user sohami commented on a diff in the pull request:
https://github.com/apache/drill/pull/1153#discussion_r173371305
--- Diff: exec/java-exec/src/main/resources/rest/index.ftl ---
@@ -193,7 +192,11 @@
var port = getPortNum();
var timeout;
var size = $("#size").html();
+ var host;
+ window.onload = function () {
+ host = location.host;
+ };
--- End diff --
Please remove this `function()` and `var host`.---
