FIX 解决镜像项目手动同步镜像不成功的问题

This commit is contained in:
jasder
2021-06-03 17:04:22 +08:00
parent 2b82b2c4f5
commit fcf8033fbf
5 changed files with 153 additions and 96 deletions

View File

@@ -82,5 +82,8 @@ class Repository < ApplicationRecord
source_clone_url.blank? ? mirror_url : source_clone_url
end
def config_accelerator?
!source_clone_url.blank?
end
end