maitrang04 commited on
Commit
19743ff
·
verified ·
1 Parent(s): 4e9541b

Update frontend/dashboard.html

Browse files
Files changed (1) hide show
  1. frontend/dashboard.html +1 -1
frontend/dashboard.html CHANGED
@@ -75,7 +75,7 @@
75
 
76
  <script>
77
  // CẤU HÌNH API (Hugging Face)
78
- const API_URL = ""; // để trống = fetch tương đối, HF tự map
79
 
80
  let rawData = [];
81
  let currentPeriod = 'today';
 
75
 
76
  <script>
77
  // CẤU HÌNH API (Hugging Face)
78
+ const res = await fetch("/api/dashboard-stats");
79
 
80
  let rawData = [];
81
  let currentPeriod = 'today';