|
@@ -23,6 +23,9 @@ class StatisticsUrlMiddleware(MiddlewareMixin):
|
|
index = path.find('/OTA/downloads')
|
|
index = path.find('/OTA/downloads')
|
|
if index != -1:
|
|
if index != -1:
|
|
addsCount = len(api_settings.ADDR_URL)
|
|
addsCount = len(api_settings.ADDR_URL)
|
|
|
|
+ print('------------------------')
|
|
|
|
+ print(addsCount)
|
|
|
|
+ print('========================')
|
|
if addsCount > 1000:
|
|
if addsCount > 1000:
|
|
return -1
|
|
return -1
|
|
else:
|
|
else:
|