chg: Update cache on tree visualization

pull/116/head
Raphaël Vinot 2020-10-29 17:55:43 +01:00
parent 5f4a97e11b
commit 69f65c9a87
1 changed files with 2 additions and 1 deletions
lookyloo

View File

@ -124,8 +124,9 @@ class Lookyloo():
try:
ct = CrawledTree(har_files, uuid)
self.resolve_dns(ct)
# getting the cache triggers an update of the said cache. We want it there.
cache = self.capture_cache(capture_uuid)
if self.is_public_instance:
cache = self.capture_cache(capture_uuid)
if cache.get('no_index') is not None:
index = False
if index: