From e471668b8d5600511e055fe84a802ee8c54e55bd Mon Sep 17 00:00:00 2001 From: ardhi Date: Wed, 5 Oct 2022 16:57:55 +0700 Subject: [PATCH] change URL_GANTT --- src/views/Dashboard/DashboardCustomer.js | 2 +- src/views/Dashboard/DashboardProject.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Dashboard/DashboardCustomer.js b/src/views/Dashboard/DashboardCustomer.js index 1b9ad11..1673264 100644 --- a/src/views/Dashboard/DashboardCustomer.js +++ b/src/views/Dashboard/DashboardCustomer.js @@ -31,7 +31,7 @@ const DashboardCustomer = () => { } const { PROJECT_ID, GANTT_ID } = useParams(); // const URL_GANTT = `http://103.73.125.81:8446/index.html?base_url=http://103.73.125.81:8444/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; - const URL_GANTT = `http://103.73.125.81:8446/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; + const URL_GANTT = `https://adw-gantt.ospro.id/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; const mapRef = useRef() const [projectName, setProjectName] = useState("Project Tower ABC"); const [customerName, setCustomerName] = useState("Jaya Gedung Group"); diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index 2913c2c..d5d9ccd 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -32,7 +32,7 @@ const DashboardProject = () => { } const { PROJECT_ID, GANTT_ID } = useParams(); // const URL_GANTT = `http://103.73.125.81:8446/index.html?base_url=http://103.73.125.81:8444/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; - const URL_GANTT = `http://103.73.125.81:8446/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; + const URL_GANTT = `https://adw-gantt.ospro.id/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; const mapRef = useRef() const [projectName, setProjectName] = useState("Project Tower ABC"); const [projectManagerName, setProjectManagerName] = useState("John Doe");