Skip to content

Commit 2efd942

Browse files
committed
quickfix: share prompt link
1 parent 65dce03 commit 2efd942

File tree

1 file changed

+1
-1
lines changed
  • apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/documents/[documentUuid]/_components/DocumentTabs/PublishDocument

1 file changed

+1
-1
lines changed

apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/documents/[documentUuid]/_components/DocumentTabs/PublishDocument/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function PublishedDocumentSettings({
9999
setCanChat(undefined)
100100
}, [isUpdating])
101101

102-
const url = `/${ROUTES.share.document(data!.uuid!).root}`
102+
const url = `${window.location.origin}${ROUTES.share.document(data!.uuid!).root}`
103103

104104
const onSaveChanges = useCallback(() => {
105105
if (isUpdating) return

0 commit comments

Comments
 (0)