dropzone & laravel: send csrf token

raw

code.js

1
2
3
4
5
 
        Dropzone.prototype.defaultOptions.headers = {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        };
 
Christian Weiske Christian Weiske
owner

History