upadte
parent
9baa7e29ab
commit
d05cb90d04
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue