]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
Fix config form issue with index URL
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / form-validators / custom-config-validators.service.ts
index d20754d11dd0b1f5aec80b3344b5ccc1be43c0d5..abcbca817ac52522baaddb0e63649826810c644c 100644 (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')
       }
     }