Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sopamo authored Apr 30, 2024
1 parent 3262ac5 commit 714d00f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,16 @@ This is the minimum Filepond JS configuration you need to set after installing l
FilePond.setOptions({
server: {
url: '/filepond/api',
process: '/process',
process: {
url: "/process",
headers: (file: File) => {
// Send the original file name which will be used for chunked uploads
return {
"Upload-Name": file.name,
"X-CSRF-TOKEN": "{{ csrf_token() }}",
}
},
},
revert: '/process',
patch: "?patch=",
headers: {
Expand Down

0 comments on commit 714d00f

Please sign in to comment.