diff --git a/js/script.js b/js/script.js index 8d5e3d5..0bd00c2 100644 --- a/js/script.js +++ b/js/script.js @@ -200,7 +200,7 @@ function checkVoucher(forceCode = null) { const mikhmonUrl = brandConfig.mikhmonUrl; const session = brandConfig.mikhmonSession; - const url = `${mikhmonUrl}/status/index.php?session=${session}&nama=${code}&json=true`; + const url = `${mikhmonUrl}/api/check.php?session=${session}&nama=${code}`; fetch(url) .then(response => response.json())