支持测试环境
This commit is contained in:
parent
5b136a7db5
commit
b775f83383
|
@ -601,6 +601,9 @@ def fetch_data(url):
|
|||
def calculate(request):
|
||||
owner = request.GET.get('owner')
|
||||
repository = request.GET.get('repository')
|
||||
env_url = "https://www.gitlink.org.cn"
|
||||
if request.GET.get('env_url') == "testforgeplus":
|
||||
env_url = "https://testforgeplus.trustie.net"
|
||||
|
||||
# owner = "xuos" # 替换为实际的 owner
|
||||
# repository = "xiuos" # 替换为实际的 repository
|
||||
|
|
Loading…
Reference in New Issue