Browse Source

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)
tags/v0.11.0
balibabu 1 year ago
parent
commit
def18308d0
No account linked to committer's email address
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      web/src/components/api-service/chat-overview-modal/index.tsx

+ 5
- 3
web/src/components/api-service/chat-overview-modal/index.tsx 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'}>

Loading…
Cancel
Save