-
Notifications
You must be signed in to change notification settings - Fork 27
TypeError: Cannot read property 'substring' of undefined #100
Comments
Solved. |
@ifedapoolarewaju I wonder if we'd want to support relative paths? (not advocating or anything, honest question, it might be too magical and a source of more support tickets). And if we don't, if we should raise a clear error when a relative path is used? |
I'm not sure what |
I meant the uppy client XHRUpload endpoint var uppy = new Uppy.Core({
...
})
uppy.use(Uppy.Dashboard, { target: '.upload-area' })
uppy.use(Uppy.Dropbox, { target: Uppy.Dashboard, serverUrl: 'https://up.example.com' })
uppy.use(Uppy.GoogleDrive, { target: Uppy.Dashboard, serverUrl: 'https://up.example.com' })
uppy.use(Uppy.ProgressBar, { target: Uppy.Dashboard })
uppy.use(Uppy.XHRUpload, {
endpoint: '{UPLOAD_URL}',
getResponseError (responseText, xhr) { return new Error(JSON.parse(responseText).message) }
}) |
But I reopen this, because it is possible to break up "uppy server" remotely. |
I've setup uppy-server for image uploading from google drive, dropbox &co, and is working great until the upload.
I choose a file and click on "select", the thumbnails comes correctly up.
But when I click on "Upload files" uppy-server quits with a TypeError.
The text was updated successfully, but these errors were encountered: