mirror of https://github.com/Chocobozzz/PeerTube
Fix config form issue with index URL
parent
80c7779efe
commit
92128fff7e
|
@ -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')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue