chenjunkai hace 6 años
padre
commit
d77a0c621f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Controller/EquipmentOTA.py

+ 2 - 2
Controller/EquipmentOTA.py

@@ -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 = {