This commit is contained in:
Ruben Fiszel
2025-07-10 13:07:05 +00:00
parent 95e1c3fe51
commit 5c4b6e7b6f
2 changed files with 3 additions and 3 deletions
@@ -82,12 +82,11 @@ export const settings: Record<string, Setting[]> = {
storage: 'setting',
error: 'Base url must start with http:// or https:// and not end with / or a space',
isValid: (value: string | undefined) =>
value
? value?.startsWith('http') &&
value == undefined
|| value?.startsWith('http') &&
value.includes('://') &&
!value?.endsWith('/') &&
!value?.endsWith(' ')
: false
},
{
label: 'Email domain',