diff --git a/src/components/GitDialog.tsx b/src/components/GitDialog.tsx index 0b8346be..6f3f0cd8 100644 --- a/src/components/GitDialog.tsx +++ b/src/components/GitDialog.tsx @@ -695,7 +695,7 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog } // Create the Shakespeare clone URL by encoding the origin URL - const shakespeareURL = `https://shakespeare.diy/clone?url=${encodeURIComponent(originUrl.trim())}`; + const shakespeareURL = `${location.origin}/clone?url=${encodeURIComponent(originUrl.trim())}`; // Try modern clipboard API first try { @@ -815,7 +815,7 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog