mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 11:45:57 +08:00
FIX get mirror url bug
This commit is contained in:
@@ -78,4 +78,9 @@ class Repository < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def remote_mirror_url
|
||||
source_clone_url.blank? ? mirror_url : source_clone_url
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user