소스 검색

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 년 전
부모
커밋
def18308d0
No account linked to committer's email address
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  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 파일 보기

@@ -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…
취소
저장