mirror of
https://github.com/gosticks/web.git
synced 2026-12-04 18:21:38 +00:00
Update query graph API endpoint
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
@@ -95,7 +95,7 @@ class QueriesGraph extends Component {
|
||||
}
|
||||
|
||||
updateGraph() {
|
||||
fetch("http://pi.hole:4747/stats/overTime/graphs")
|
||||
fetch("http://pi.hole:4747/stats/overTime/graph")
|
||||
.then(res => res.json())
|
||||
.then(res => {
|
||||
res.ads_over_time = parseObjectForGraph(res.ads_over_time);
|
||||
|
||||
Reference in New Issue
Block a user