main
Ilham Wara Nugroho 2025-09-11 15:50:31 +07:00
parent 9baa7e29ab
commit d05cb90d04
1 changed files with 19 additions and 19 deletions

View File

@ -208,9 +208,9 @@
const myDropzone = new Dropzone(".dropzone", {
url: "{{ url('uploadTempImage') }}", // URL ke controller kamu
method: "POST",
xhrFields: {
withCredentials: true
},
// xhrFields: {
// withCredentials: true
// },
headers: {
'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').getAttribute('content'),
'X-Requested-With': 'XMLHttpRequest'