From 6a2f454846d8581dc9b23891551e7d2fff6c5c13 Mon Sep 17 00:00:00 2001 From: yangjian Date: Thu, 29 Apr 2021 07:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=88=E6=9C=AC=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E6=9B=B4=E6=96=B0=E5=9C=B0=E5=9D=80GitHub=E8=AF=B7?= =?UTF-8?q?=E6=B1=82URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_admin/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_admin/views.py b/app_admin/views.py index 5ac1dd3..0a7e72d 100644 --- a/app_admin/views.py +++ b/app_admin/views.py @@ -940,7 +940,7 @@ def check_update(request): if gitee_resp.status_code == 200: return JsonResponse({'status':True,'data':gitee_resp.json()[-1]}) else: - github_resp = requests.get(github_url[1],timeout=5) + github_resp = requests.get(github_url,timeout=5) if github_resp.status_code == 200: return JsonResponse({'status':True,'data':github_resp.json()[0]}) else: