ddanielr commented on code in PR #5729:
URL: https://github.com/apache/accumulo/pull/5729#discussion_r2196182950


##########
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js:
##########
@@ -340,21 +340,21 @@ function doLoggedPostCall(call, callback, shouldSanitize) 
{
  * stores it on a sessionStorage variable
  */
 function getManager() {
-  return getJSONForTable('/rest/manager', 'manager');
+  return getJSONForTable(contextPath + 'rest/manager', 'manager');

Review Comment:
   a895fd7c adds the contextPath var in gobals.js. 
   5366e9aeb switches all the .js files to use the new variable. 



##########
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js:
##########
@@ -340,21 +340,21 @@ function doLoggedPostCall(call, callback, shouldSanitize) 
{
  * stores it on a sessionStorage variable
  */
 function getManager() {
-  return getJSONForTable('/rest/manager', 'manager');
+  return getJSONForTable(contextPath + 'rest/manager', 'manager');

Review Comment:
   a895fd7c adds the contextPath var in gobal.js. 
   5366e9aeb switches all the .js files to use the new variable. 



-- 
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: notifications-unsubscr...@accumulo.apache.org

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

Reply via email to