forked from mirror/MrDoc
优化版本检测逻辑
This commit is contained in:
parent
2f258d3e1c
commit
c102081379
@ -939,7 +939,7 @@ def check_update(request):
|
||||
elif resp2.status_code == 200:
|
||||
return JsonResponse({'status':True,'data':resp[0]})
|
||||
else:
|
||||
return JsonResponse({'status':True,'data':"{'name': 'v0.0.1'}"})
|
||||
return JsonResponse({'status':True,'data':{'name': 'v0.0.1'}})
|
||||
|
||||
|
||||
# 后台管理
|
||||
|
Loading…
Reference in New Issue
Block a user