mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-30 00:16:53 +00:00
nits
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user