소스 검색

ota debug

chenjunkai 7 년 전
부모
커밋
373ca5c376
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      Controller/OTAEquipment.py

+ 0 - 2
Controller/OTAEquipment.py

@@ -233,13 +233,11 @@ def getUpdataFileUrlInterface(request):
                 if file_path.find('static/Upgrade/') != -1:
                     path = file_path.replace('static/Upgrade/', '').replace('\\', '/')
                     url = SERVER_DOMAIN + '/OTA/downloads/' + path + '?time=' + str(time.time())
-                    https_url = url.replace('http','https')
                     urls.append(url)
             if len(urls) > 0:
                 return response.json(0, {
                     "urlCount": len(urls),
                     "url": urls,
-                    'https_url': https_url,
                     "fileSize": equipment.fileSize,
                     "Description": equipment.Description,
                 })