Skip to content

Commit 195bf52

Browse files
committed
fix doc upload
1 parent 829fcb0 commit 195bf52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/components/form/file-pond.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
allowImageCrop: true,
5252
allowReorder: true,
5353
server: {
54-
url: '/upload',
54+
url: '{{route("filepond.upload")}}',
5555
process: {
5656
url: '/',
5757
method: 'POST',

routes/frontend.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
return response($pathString, 200, [
159159
'content_type' => 'text/plain'
160160
]);
161-
});
161+
})->name('filepond.upload');
162162

163163
Route::get('test', function () {
164164
return view('test');

0 commit comments

Comments
 (0)