mirror of
https://github.com/dyzulk/twinpath-hotspot-themes.git
synced 2026-01-26 05:25:40 +07:00
Update: Call dedicated API endpoint /api/check.php for voucher checking
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user