aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-05 09:10:05 +0200
committerChocobozzz <me@florianbigard.com>2020-06-05 09:10:05 +0200
commit92128fff7e2ab6723640924288ce3e5c6baff5a8 (patch)
tree97729a478de5d77622272953e0c72648eb4303b4 /client/src/app/shared
parent80c7779efeab644410dee2f21428322b1f0e3500 (diff)
downloadPeerTube-92128fff7e2ab6723640924288ce3e5c6baff5a8.tar.gz
PeerTube-92128fff7e2ab6723640924288ce3e5c6baff5a8.tar.zst
PeerTube-92128fff7e2ab6723640924288ce3e5c6baff5a8.zip
Fix config form issue with index URL
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/forms/form-validators/custom-config-validators.service.ts3
1 files changed, 1 insertions, 2 deletions
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 {
81 } 81 }
82 82
83 this.INDEX_URL = { 83 this.INDEX_URL = {
84 VALIDATORS: [ Validators.required, Validators.pattern(/^https:\/\//) ], 84 VALIDATORS: [ Validators.pattern(/^https:\/\//) ],
85 MESSAGES: { 85 MESSAGES: {
86 'required': this.i18n('Index URL is required.'),
87 'pattern': this.i18n('Index URL should be a URL') 86 'pattern': this.i18n('Index URL should be a URL')
88 } 87 }
89 } 88 }