Skip to content

Commit

Permalink
fix: Copied API link error infiniflow#2188 (infiniflow#2189)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

fix: Copied API link error infiniflow#2188

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
  • Loading branch information
cike8899 authored Sep 2, 2024
1 parent 28a6804 commit 7ac63b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions web/src/components/api-service/chat-overview-modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'}>
Expand Down

0 comments on commit 7ac63b2

Please sign in to comment.