Update static/script.js
Browse files- static/script.js +1 -1
static/script.js
CHANGED
|
@@ -57,7 +57,7 @@ function chonMuc(muc) {
|
|
| 57 |
|
| 58 |
async function hienThiDanhSachPYC() {
|
| 59 |
try {
|
| 60 |
-
const res = await fetch(
|
| 61 |
const data = await res.json();
|
| 62 |
console.log("DATA ĐẾM PYC:", data);
|
| 63 |
|
|
|
|
| 57 |
|
| 58 |
async function hienThiDanhSachPYC() {
|
| 59 |
try {
|
| 60 |
+
const res = await fetch(`${BACKEND_URL}/dem_pyc_tat_ca`);
|
| 61 |
const data = await res.json();
|
| 62 |
console.log("DATA ĐẾM PYC:", data);
|
| 63 |
|