From: Chocobozzz Date: Fri, 5 Jun 2020 07:10:05 +0000 (+0200) Subject: Fix config form issue with index URL X-Git-Tag: v2.3.0-rc.1~201 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=92128fff7e2ab6723640924288ce3e5c6baff5a8;hp=80c7779efeab644410dee2f21428322b1f0e3500;p=github%2FChocobozzz%2FPeerTube.git Fix config form issue with index URL --- 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 { } 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') } }