mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-12 14:11:07 +00:00
Merge branch 'main' into fix/macos-window-scaling
This commit is contained in:
commit
c97adda583
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ export const share = async (taskId: string) => {
|
|||
const res = await proxyFetchPost(`/api/chat/share`, {
|
||||
task_id: taskId,
|
||||
});
|
||||
const shareLink = `https://www.eigent.ai/download?share_token=${res.share_token}__${taskId}`;
|
||||
const shareLink = `${import.meta.env.VITE_USE_LOCAL_PROXY === "true" ? 'eigent://callback' : 'https://www.eigent.ai/download'}?share_token=${res.share_token}__${taskId}`;
|
||||
navigator.clipboard
|
||||
.writeText(shareLink)
|
||||
.then(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue