From 77ec4f68c448a6c1b970e163f7cf5d05a6d5a201 Mon Sep 17 00:00:00 2001 From: dyzulk <66510723+dyzulk@users.noreply.github.com> Date: Mon, 12 Jan 2026 10:10:33 +0700 Subject: [PATCH] Update: Call dedicated API endpoint /api/check.php for voucher checking --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())