Browse Source

update

Dev-Fuad
root 2 months ago
parent
commit
78a851eaa1
  1. 2
      edit-mode/function/ganttConfig.js
  2. 2
      edit-mode/function/ganttSettings.js

2
edit-mode/function/ganttConfig.js

@ -6,7 +6,7 @@ let base_url = getUrlParameter("base_url");
const role_name = getUrlParameter("role_name"); const role_name = getUrlParameter("role_name");
const company_id = getUrlParameter("company_id"); const company_id = getUrlParameter("company_id");
const company_name = getUrlParameter("company_name"); const company_name = getUrlParameter("company_name");
const base_url_image = `https://project-api.ospro.id/assets/${company_name}/`; const base_url_image = `https://si-api.ospro.id/assets/${company_name}/`;
const ganttName = getUrlParameter("gantt_name"); const ganttName = getUrlParameter("gantt_name");
// const base_url_image = `http://localhost:8444/generic-ospro-backend/assets/${company_name}/`; // const base_url_image = `http://localhost:8444/generic-ospro-backend/assets/${company_name}/`;
const adwIntegrationUrl = "https://adw-api.ospro.id/api"; const adwIntegrationUrl = "https://adw-api.ospro.id/api";

2
edit-mode/function/ganttSettings.js

@ -131,7 +131,7 @@ $(document).ready(function () {
}); });
$("#dashboard-project").on('click', function (event) { $("#dashboard-project").on('click', function (event) {
window.location.href = `https://si.ospro.id/#/dashboard-project/${projectId}/${ganttId}false-header`; window.location.href = `https://si.ospro.id/#/dashboard-project/${projectId}/${ganttId}/false-header`;
// window.location.href = `http://localhost:3000/#/dashboard-project/${projectId}/${ganttId}/false-header`; // window.location.href = `http://localhost:3000/#/dashboard-project/${projectId}/${ganttId}/false-header`;
}); });

Loading…
Cancel
Save