diff --git a/content/master.blade.php b/content/master.blade.php index b22cbb9..b5466e7 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -158,7 +158,7 @@ if(localStorage.getItem("products") != null) objProducts = JSON.parse(localStorage.getItem("products")); $.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, - url: "{{url('admin/contents/all')}}/"+objProducts.join(","), + url: "{{url('/contents/all')}}/"+objProducts.join(","), type: "get", cache : false, processData: false, diff --git a/content/pages/checkout.blade.php b/content/pages/checkout.blade.php index b9ddcc8..f3159e4 100644 --- a/content/pages/checkout.blade.php +++ b/content/pages/checkout.blade.php @@ -144,7 +144,7 @@ if(localStorage.getItem("products") != null) objProducts = JSON.parse(localStorage.getItem("products")); $.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, - url: "{{url('admin/contents/all')}}/"+objProducts.join(","), + url: "{{url('/contents/all')}}/"+objProducts.join(","), type: "get", cache : false, processData: false,