pi-hole / web

Pi-hole Dashboard for stats and more
https://pi-hole.net
Other
2.06k stars 559 forks source link

api.php?summary no longer formatted #2063

Closed C4Wiz closed 2 years ago

C4Wiz commented 2 years ago

In raising this issue, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your issue:

How familiar are you with the codebase?:

5


[BUG | ISSUE] Expected Behaviour: formatted summary

[BUG | ISSUE] Actual Behaviour: non formatted summary

[BUG | ISSUE] Steps to reproduce: http://pihole.local/admin/api.php?summary

returns: {"domains_being_blocked":101021,"dns_queries_today":46501,"ads_blocked_today":4472,"ads_percentage_today":9.616998,"unique_domains":4272,"queries_forwarded":21631,"queries_cached":20168,"clients_ever_seen":35,"unique_clients":31,"dns_queries_all_types":46501,"reply_NODATA":5126,"reply_NXDOMAIN":2322,"reply_CNAME":22480,"reply_IP":16151,"privacy_level":0,"status":"enabled","gravity_last_updated":{"file_exists":true,"absolute":1641721035,"relative":{"days":0,"hours":5,"minutes":47}}}

-

-

Log file output [if available]

output

Device specifics

Hardware Type: rPi, VPS, etc rpi OS: raspian 10

This template was created based on the work of udemy-dl.

yubiuser commented 2 years ago

Duplicate of https://github.com/pi-hole/AdminLTE/issues/2048