diff --git a/public/js/main.js b/public/js/main.js index ce15034..e5d391a 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -132,7 +132,7 @@ function tambahdanserahanfunc(e) $.ajax({ method:"POST", - url: 'http://api.localhost:8000/api/requestTeller/ALS/SAMSIANA', + url: api_url + '/api/requestTeller/ALS/SAMSIANA', data: { "modal" : txt, "serahan" : 0 @@ -155,7 +155,7 @@ function tambahdanserahanfunc(e) $.ajax({ method:"POST", - url: 'http://api.localhost:8000/api/requestTeller/ALS/SAMSIANA', + url: api_url + '/api/requestTeller/ALS/SAMSIANA', data: { 'modal' : 0, 'serahan' : txt diff --git a/resources/views/khazanah/pendahuluan.blade.php b/resources/views/khazanah/pendahuluan.blade.php index 453be37..5b13e98 100644 --- a/resources/views/khazanah/pendahuluan.blade.php +++ b/resources/views/khazanah/pendahuluan.blade.php @@ -101,12 +101,12 @@