-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imageUploader #223
Comments
this is my image tool config in Editor js
|
please help me with that it really hurts! |
try this: image: {
...
uploader: {
uploadByFile: async (file: File) => {...}
}
...
} |
@xanderjakeq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An error occured when running the middleware for the imageUploader route
The error above is from uploadthing using in imageTool in Editor/js
Image Tool: uploading failed because of Error: An error occured when running the middleware for the imageUploader route
at UploadThingError.fromResponse (webpack-internal:///(app-pages-browser)/./node_modules/@uploadthing/shared/dist/index.mjs:224:12)
at async eval (webpack-internal:///(app-pages-browser)/./node_modules/uploadthing/dist/client.mjs:50:21)
at async DANGEROUS__uploadFiles (webpack-internal:///(app-pages-browser)/./node_modules/uploadthing/dist/client.mjs:36:27)
at async Object.uploadByFile (webpack-internal:///(app-pages-browser)/./src/components/Editor.tsx:115:49)
The text was updated successfully, but these errors were encountered: