X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fforms%2Fform-validators%2Fcustom-config-validators.service.ts;h=abcbca817ac52522baaddb0e63649826810c644c;hb=92128fff7e2ab6723640924288ce3e5c6baff5a8;hp=d20754d11dd0b1f5aec80b3344b5ccc1be43c0d5;hpb=2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89;p=github%2FChocobozzz%2FPeerTube.git 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') } }