Fix config form issue with index URL

pull/2832/head
Chocobozzz 2020-06-05 09:10:05 +02:00
parent 80c7779efe
commit 92128fff7e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 2 deletions

View File

@ -81,9 +81,8 @@ export class CustomConfigValidatorsService {
}
this.INDEX_URL = {
VALIDATORS: [ Validators.required, Validators.pattern(/^https:\/\//) ],
VALIDATORS: [ Validators.pattern(/^https:\/\//) ],
MESSAGES: {
'required': this.i18n('Index URL is required.'),
'pattern': this.i18n('Index URL should be a URL')
}
}