DONE: use flexible name for api call in frontend

This commit is contained in:
ISMAIL MASSERAN
2026-08-09 10:18:26 +08:00
committed by ISMAIL MASSERAN
parent 0cb85c2375
commit 73d74878d9
102 changed files with 523 additions and 146 deletions
+2 -2
View File
@@ -229,7 +229,7 @@
}
});
var api = '<?php echo $api_url ?>';
var api = "{{ api_url_for_browser() }}";
let nw = 0;
function wakilfunction(e)
@@ -565,7 +565,7 @@ function ubahwakil(e)
{
let norujukan = $('#norujukan').val();
let api = "{{ config('api.url') }}";
let api = "{{ api_url_for_browser() }}";
let nowakil = nw;
let jenis = '';