feat: add warning for CAA

This commit is contained in:
Arman committed 2025-05-16 10:06:20 +02:00
1 parent 212aabab69
commit ca40f54e4e
2 files changed
+21 -9

No files matched your search

+20 -8
View File
@@ -8,7 +8,8 @@
Typography,
Table,
Icon,
InteractiveText
InteractiveText,
Alert
} from '@appwrite.io/pink-svelte';
export let domain: string;
@@ -69,12 +70,23 @@
</Table.Root>
<Layout.Stack gap="s" direction="row" alignItems="center">
<Icon icon={IconInfo} size="s" color="--fgcolor-neutral-secondary" />
<Typography.Text variant="m-400" color="--fgcolor-neutral-secondary">
A list of all domain providers and their DNS setting is available <Link
variant="muted"
external
href="https://appwrite.io/docs/advanced/platform/custom-domains">here</Link
>.
</Typography.Text>
{#if variant === 'cname'}
<Alert.Inline>
If your domain uses CAA records, ensure certainly.com is authorized — otherwise, SSL
setup may fail. A list of all domain providers and their DNS setting is available <Link
variant="muted"
external
href="https://appwrite.io/docs/advanced/platform/custom-domains">here</Link
>.
</Alert.Inline>
{:else}
<Typography.Text variant="m-400" color="--fgcolor-neutral-secondary">
A list of all domain providers and their DNS setting is available <Link
variant="muted"
external
href="https://appwrite.io/docs/advanced/platform/custom-domains">here</Link
>.
</Typography.Text>
{/if}
</Layout.Stack>
</Layout.Stack>
@@ -53,7 +53,7 @@ export const recordTypes = [
{
value: 'CAA',
label: 'CAA',
helper: 'CAA records specify which certificate authorities are allowed to issue SSL certificates for your domain, helping to prevent unauthorized certificate issuance.'
helper: 'CAA records define which certificate authorities can issue SSL certificates for your domain. To avoid setup issues, make sure certainly.com is authorized.'
},
{
value: 'HTTPS',