Skip to content

Commit c641773

Browse files
authored
Merge pull request finos#735 from RajvirS99/fix/669-ui/docs
fix: finos#669-ui/docs: clone component is undefined when running as a server
2 parents 3b6cb6b + d255708 commit c641773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/views/RepoList/Components/RepoOverview.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ export default function Repositories(props) {
585585
};
586586

587587
const { project: org, name } = props?.data || {};
588-
const cloneURL = `${import.meta.env.VITE_SERVER_URI}/${org}/${name}.git`;
588+
const cloneURL = `${window.location.origin.toString()}/${org}/${name}.git`;
589589

590590
return (
591591
<TableRow>

0 commit comments

Comments
 (0)