feat(config): Webhook Domain

This commit is contained in:
web@ppanel
2024-12-24 17:56:14 +07:00
parent 38d561604d
commit 01e06c6338
30 changed files with 118 additions and 24 deletions
@@ -38,6 +38,19 @@ export default function Telegram() {
return (
<Table>
<TableBody>
<TableRow>
<TableCell>
<Label>{t('webhookDomain')}</Label>
<p className='text-muted-foreground text-xs'>{t('webhookDomainDescription')}</p>
</TableCell>
<TableCell className='text-right'>
<EnhancedInput
placeholder={t('inputPlaceholderWebhookDomain')}
value={data?.telegram_web_hook_domain}
onValueBlur={(value) => updateConfig('telegram_web_hook_domain', value)}
/>
</TableCell>
</TableRow>
<TableRow>
<TableCell>
<Label>{t('botToken')}</Label>