|
@@ -195,8 +195,8 @@ class EquipmentVersionView(View):
|
|
|
path = file_path.replace('static/Upgrade/', '').replace('\\', '/')
|
|
|
url = SERVER_DOMAIN + 'OTA/downloads/' + path + '?time=' + str(time.time())
|
|
|
elif file_path.find('static/otapack') != -1:
|
|
|
- # url = SERVER_DOMAIN + 'OTA/downloadsPack/' + file_path + '?time=' + str(time.time())
|
|
|
- url = SERVER_DOMAIN + 'dl/otaPack/' + file_path + '?time=' + str(time.time())
|
|
|
+ url = SERVER_DOMAIN + 'OTA/downloadsPack/' + file_path + '?time=' + str(time.time())
|
|
|
+ # url = SERVER_DOMAIN + 'dl/otaPack/' + file_path + '?time=' + str(time.time())
|
|
|
else:
|
|
|
return response.json(900, '2')
|
|
|
res = {
|