chenjunkai 6 years ago
parent
commit
af8d04b0c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/OTAEquipment.py

+ 2 - 1
Controller/OTAEquipment.py

@@ -463,7 +463,8 @@ def getNewVerInterface(request):
         tko = UrlTokenObject()
         file_path = tko.generate(data={'Url': "ansjer/" + CommonService.RandomStr(6) + "/" + file_path})
 
-        url = SERVER_DOMAIN + 'dlotapack/' + file_path
+        url = 'http://www.zositech.xyz/dlotapack/' + file_path
+        # url = SERVER_DOMAIN + 'dlotapack/' + file_path
         # url = SERVER_DOMAIN + 'OTA/downloadsPack/' + file_path + '?time=' + str(time.time())
         return response.json(0, {
             'ver': ver,