Top HTTP Sites Rework

Implements #1060
This commit is contained in:
Simone Mainardi 2017-04-04 18:50:52 +02:00
parent f60c433197
commit fb7b9d0366
3 changed files with 3 additions and 2 deletions

View file

@ -80,6 +80,7 @@ else
-- hosts stats are on by default, one must explicitly disable them
if host_stats == nil or host_stats == "" or host_stats == "true" or host_stats == "1" then
hj = json.decode(host["json"])
hj["sites"] = host["sites"]
hj["http"] = host["http"]
end