Skip to content

Commit

Permalink
Fix local clone url (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinMendelGleason committed Dec 5, 2023
1 parent f15d8f6 commit d34edd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tdb-dashboard/src/components/AboutDataProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const AboutDataProduct = ({dataProductDetails, setShowDeleteModal, setSho
const [healthText, setHealthText]=useState(false)

const getCloneUrl = () =>{
return `${localSettings.server}${organization}/${organization}/${dataProduct}`
return `${localSettings.server.replace(/\/$/,'')}/${organization}/${organization}/${dataProduct}`
}

useEffect(() =>{
Expand Down

0 comments on commit d34edd5

Please sign in to comment.