mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
parent
04ac629bd2
commit
0783f97bed
@ -1038,7 +1038,7 @@ def get_mirror_service_urls(url):
|
||||
segments.extend([branch, folder])
|
||||
urls.append('/'.join(segments))
|
||||
elif hostname == "gitlab.com":
|
||||
if common.get_dir_size() <= common.GITLAB_COM_PAGES_MAX_SIZE:
|
||||
if common.get_dir_size(folder) <= common.GITLAB_COM_PAGES_MAX_SIZE:
|
||||
# Gitlab-like Pages segments "https://user.gitlab.io/repo/folder"
|
||||
gitlab_pages = ["https:", "", user + ".gitlab.io", repo, folder]
|
||||
urls.append('/'.join(gitlab_pages))
|
||||
|
Loading…
Reference in New Issue
Block a user