Skip to content

Commit

Permalink
[SPARK-23644][CORE][UI] Use absolute path for REST call in SHS
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaido91 committed Mar 10, 2018
1 parent d90e77b commit 17ea399
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -113,7 +113,7 @@ $(document).ready(function() {
status: (requestedIncomplete ? "running" : "completed")
};

$.getJSON("api/v1/applications", appParams, function(response,status,jqXHR) {
$.getJSON(uiRoot + "/api/v1/applications", appParams, function(response,status,jqXHR) {
var array = [];
var hasMultipleAttempts = false;
for (i in response) {
Expand Down Expand Up @@ -151,7 +151,7 @@ $(document).ready(function() {
"showCompletedColumns": !requestedIncomplete,
}

$.get("static/historypage-template.html", function(template) {
$.get(uiRoot + "/static/historypage-template.html", function(template) {
var sibling = historySummary.prev();
historySummary.detach();
var apps = $(Mustache.render($(template).filter("#history-summary-template").html(),data));
Expand Down

0 comments on commit 17ea399

Please sign in to comment.