fix: stream FilePond uploads to S3 and proxy private file previews
Disk-based multer plus an authenticated content endpoint match the working Node.js uploader and avoid browser signed-URL failures on SeaweedFS.
This commit is contained in:
@@ -144,6 +144,16 @@
|
||||
"en": "File is required.",
|
||||
"fa": "ارسال فایل الزامی است."
|
||||
},
|
||||
"FILE_NOT_FOUND": {
|
||||
"statusCode": 404,
|
||||
"en": "The requested file was not found.",
|
||||
"fa": "فایل مورد نظر یافت نشد."
|
||||
},
|
||||
"UNSUPPORTED_FILE_TYPE": {
|
||||
"statusCode": 400,
|
||||
"en": "This file type is not allowed. Use JPEG, PNG, WebP, GIF, or PDF.",
|
||||
"fa": "این نوع فایل مجاز نیست. از JPEG، PNG، WebP، GIF یا PDF استفاده کنید."
|
||||
},
|
||||
"FILE_COMMIT_FAILED": {
|
||||
"statusCode": 502,
|
||||
"en": "Failed to store the uploaded file. Please try again.",
|
||||
|
||||
Reference in New Issue
Block a user