From 0ff7d8ad4707054fd31f7061b7863c47f4db60fb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 21 Oct 2025 19:44:51 -0500 Subject: [PATCH] Use location.origin for Edit with Shakespeare URL --- src/components/GitDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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