Skip to content

Commit d34edd5

Browse files
Fix local clone url (#308)
1 parent f15d8f6 commit d34edd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tdb-dashboard/src/components/AboutDataProduct.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const AboutDataProduct = ({dataProductDetails, setShowDeleteModal, setSho
4040
const [healthText, setHealthText]=useState(false)
4141

4242
const getCloneUrl = () =>{
43-
return `${localSettings.server}${organization}/${organization}/${dataProduct}`
43+
return `${localSettings.server.replace(/\/$/,'')}/${organization}/${organization}/${dataProduct}`
4444
}
4545

4646
useEffect(() =>{

0 commit comments

Comments
 (0)