From fb6d301884ce63cdea178ec2a16f0b2035a38241 Mon Sep 17 00:00:00 2001 From: Afiq Date: Sun, 17 Jan 2021 08:45:28 +0800 Subject: [PATCH] change api --- public/js/main.js | 4 ++-- resources/views/khazanah/pendahuluan.blade.php | 6 +++--- resources/views/khazanah/serahan.blade.php | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) 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 @@