Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix_invitation-link.tsx_url_more_basepath_bug (#19453)
GQ1994af12cf1bf667
diff --git a/web/app/components/header/account-setting/members-page/invited-modal/invitation-link.tsx b/web/app/components/header/account-setting/members-page/invited-modal/invitation-link.tsxindex 0ef1b145695..2426f7b9337 100644--- a/web/app/components/header/account-setting/members-page/invited-modal/invitation-link.tsx+++ b/web/app/components/header/account-setting/members-page/invited-modal/invitation-link.tsx@@ -1,6 +1,5 @@'use client'import React, { useCallback, useEffect, useRef, useState } from 'react'-import { basePath } from '@/utils/var'import { t } from 'i18next'import copy from 'copy-to-clipboard'import s from './index.module.css'@@ -19,7 +18,8 @@ const InvitationLink = ({const selector = useRef(`invite-link-${randomString(4)}`)const copyHandle = useCallback(() => {- copy(`${!value.url.startsWith('http') ? window.location.origin : ''}${basePath}${value.url}`)+ // No prefix is needed here because the backend has already processed it+ copy(`${!value.url.startsWith('http') ? window.location.origin : ''}${value.url}`)setIsCopied(true)}, [value])@@ -42,7 +42,7 @@ const InvitationLink = ({<TooltippopupContent={isCopied ? `${t('appApi.copied')}` : `${t('appApi.copy')}`}>- <div className='r-0 absolute left-0 top-0 w-full cursor-pointer truncate pl-2 pr-2' onClick={copyHandle}>{basePath + value.url}</div>+ <div className='r-0 absolute left-0 top-0 w-full cursor-pointer truncate pl-2 pr-2' onClick={copyHandle}>{value.url}</div></Tooltip></div><div className="h-4 shrink-0 border bg-divider-regular" />