diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/forms/form-validators/custom-config-validators.service.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts index d20754d11..abcbca817 100644 --- a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts +++ b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts | |||
@@ -81,9 +81,8 @@ export class CustomConfigValidatorsService { | |||
81 | } | 81 | } |
82 | 82 | ||
83 | this.INDEX_URL = { | 83 | this.INDEX_URL = { |
84 | VALIDATORS: [ Validators.required, Validators.pattern(/^https:\/\//) ], | 84 | VALIDATORS: [ Validators.pattern(/^https:\/\//) ], |
85 | MESSAGES: { | 85 | MESSAGES: { |
86 | 'required': this.i18n('Index URL is required.'), | ||
87 | 'pattern': this.i18n('Index URL should be a URL') | 86 | 'pattern': this.i18n('Index URL should be a URL') |
88 | } | 87 | } |
89 | } | 88 | } |