Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix config form issue with index URL

Chocobozzz92128fff7e2a
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 d20754d11d..abcbca817a 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')
}
}