Skip to content

Commit

Permalink
Merge pull request Tendrl#1074 from GowthamShanmugam/1590416
Browse files Browse the repository at this point in the history
Modified grafana dashboard to relative path from static path
  • Loading branch information
gnehapk authored Oct 26, 2018
2 parents 2b00268 + 68491b8 commit 3145736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commons/services/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
bricks: "brick-dashboard"
};
ip = $location.host();
initialUrl = "http://" + ip + ":3000/dashboard/db/" + dashboardTypes[dashboardName];
initialUrl = "/grafana/dashboard/db/" + dashboardTypes[dashboardName];

if (dashboardName === "glance") {
uri = initialUrl + "?var-cluster_id=" + grafanaObj.clusterId;
Expand Down Expand Up @@ -318,4 +318,4 @@
});
}
};
})();
})();

0 comments on commit 3145736

Please sign in to comment.