From b33dbfc95ff5a34b4b4f62b83ce74aadbae95746 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Fri, 11 Oct 2024 10:00:12 -0400 Subject: [PATCH] prefix share link with window location --- .../sidePanel/WorkflowListMenu/ShareWorkflowModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/nodes/components/sidePanel/WorkflowListMenu/ShareWorkflowModal.tsx b/invokeai/frontend/web/src/features/nodes/components/sidePanel/WorkflowListMenu/ShareWorkflowModal.tsx index 7af4875211..faa395c47a 100644 --- a/invokeai/frontend/web/src/features/nodes/components/sidePanel/WorkflowListMenu/ShareWorkflowModal.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/sidePanel/WorkflowListMenu/ShareWorkflowModal.tsx @@ -43,7 +43,7 @@ export const ShareWorkflowModal = () => { if (!workflowToShare || !projectUrl) { return null; } - return `${projectUrl}/studio?selectedWorkflowId=${workflowToShare.workflow_id}`; + return `${window.location.origin}/${projectUrl}/studio?selectedWorkflowId=${workflowToShare.workflow_id}`; }, [projectUrl, workflowToShare]); const handleCopy = useCallback(() => {