|
|
@ -23,7 +23,7 @@ function getSCurveData(){ |
|
|
|
const parentUrl = event.data.url; |
|
|
|
const parentUrl = event.data.url; |
|
|
|
|
|
|
|
|
|
|
|
// Remove the base URL and hash
|
|
|
|
// Remove the base URL and hash
|
|
|
|
const path = parentUrl.replace("http://localhost:3000/#/dashboard-project/", ""); |
|
|
|
const path = parentUrl.replace("https://adw.ospro.id/#/dashboard-project/", ""); |
|
|
|
|
|
|
|
|
|
|
|
// Split the remaining path by "/"
|
|
|
|
// Split the remaining path by "/"
|
|
|
|
const parts = path.split("/"); |
|
|
|
const parts = path.split("/"); |
|
|
|