mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-23 18:02:50 +00:00
Allow https in filestore url
This commit is contained in:
parent
32a5749d14
commit
ea9a02c9ae
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ class AbfJson(object):
|
|||
self.abf_url = re.compile('/+$').sub('', abf_url)
|
||||
self.file_store_url = re.compile('/+$').sub('', file_store_url)
|
||||
|
||||
if not self.file_store_url.startswith('http://'):
|
||||
log.error(_('File-store URL has to start with "http://"'))
|
||||
if not (self.file_store_url.startswith('http://') or self.file_store_url.startswith('https://')):
|
||||
log.error(_('File-store URL has to start with "http(s)://"'))
|
||||
exit(1)
|
||||
|
||||
self.file_store_domain = self.file_store_url[7:]
|
||||
|
|
Loading…
Add table
Reference in a new issue