mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
- Show copy buttons in API key creation notification - Replace regional endpoint references with API endpoint
16 lines
560 B
Svelte
16 lines
560 B
Svelte
<script lang="ts">
|
|
import { Copy } from '.';
|
|
import { Icon, Tag } from '@appwrite.io/pink-svelte';
|
|
import { IconDuplicate } from '@appwrite.io/pink-icons-svelte';
|
|
import { getProjectEndpoint } from '$lib/helpers/project';
|
|
</script>
|
|
|
|
<Copy value={getProjectEndpoint()} copyText="Copy endpoint">
|
|
<Tag size="xs" variant="code">
|
|
<Icon icon={IconDuplicate} size="s" slot="start" />
|
|
<span style:white-space="nowrap" style:overflow="hidden" style:word-break="break-all">
|
|
API endpoint
|
|
</span>
|
|
</Tag>
|
|
</Copy>
|