diff --git a/app_admin/views.py b/app_admin/views.py index b5b6e46..c62eff6 100644 --- a/app_admin/views.py +++ b/app_admin/views.py @@ -1273,7 +1273,7 @@ def check_update(request): github_url = 'https://api.github.com/repos/zmister2016/MrDoc/tags' gitee_resp = requests.get(gitee_url,timeout=5) if gitee_resp.status_code == 200: - return JsonResponse({'status':True,'data':gitee_resp.json()[-1]}) + return JsonResponse({'status':True,'data':gitee_resp.json()[0]}) else: github_resp = requests.get(github_url,timeout=5) if github_resp.status_code == 200: diff --git a/template/app_admin/admin_overview.html b/template/app_admin/admin_overview.html index 4cae08c..7c75c12 100644 --- a/template/app_admin/admin_overview.html +++ b/template/app_admin/admin_overview.html @@ -90,11 +90,12 @@
-
觅思文档 {{mrdoc_version}}
+
MrDoc {{mrdoc_version}}