Browse Source

fix: update end point image

pull/1/head
Watiah11 6 months ago
parent
commit
eedc0d1ccd
  1. 4
      edit-mode/function/ganttConfig.js

4
edit-mode/function/ganttConfig.js

@ -5,7 +5,9 @@ const timestamp = getUrlParameter("timestamp");
let base_url = getUrlParameter("base_url"); 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 base_url_image = "https://project-api.ospro.id/assets/image/"; const company_name = getUrlParameter("company_name");
const base_url_image = `https://project-api.ospro.id/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";
let userToVersionGanttId = 0 let userToVersionGanttId = 0

Loading…
Cancel
Save