fix: Copied API link error #2188 (#2189)

### What problem does this PR solve?

fix: Copied API link error #2188

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu 2024-09-02 11:00:27 +08:00 committed by GitHub
parent fc6d8ee77f
commit def18308d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,9 +76,11 @@ const ChatOverviewModal = ({
<Card title={t('backendServiceApi')}>
<Flex gap={8} vertical>
{t('serviceApiEndpoint')}
<Paragraph copyable className={styles.linkText}>
{location.origin}
/v1/api/
<Paragraph
copyable={{ text: `${location.origin}/v1/api/` }}
className={styles.linkText}
>
{location.origin}/v1/api/
</Paragraph>
</Flex>
<Space size={'middle'}>