mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
fix: restore email domain (MX) setting in instance settings UI (#8152)
The email_domain setting was accidentally removed from the frontend instance settings in a recent onboarding cleanup. The backend still fully supports it. This restores the setting in the Core section. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -140,6 +140,21 @@ export const settings: Record<string, Setting[]> = {
|
||||
!value?.endsWith('/') &&
|
||||
!value?.endsWith(' '))
|
||||
},
|
||||
{
|
||||
label: 'Email domain',
|
||||
description: 'Domain to display in webhooks for email triggers (should match the MX record)',
|
||||
key: 'email_domain',
|
||||
fieldType: 'text',
|
||||
placeholder: 'mail.windmill.com',
|
||||
storage: 'setting',
|
||||
error: 'Must be a valid domain',
|
||||
isValid: (value: string | undefined) =>
|
||||
value == undefined ||
|
||||
value === '' ||
|
||||
/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?)*$/.test(
|
||||
value
|
||||
)
|
||||
},
|
||||
{
|
||||
label: 'Request size limit in MB',
|
||||
description: 'Maximum size of HTTP requests in MB.',
|
||||
|
||||
Reference in New Issue
Block a user