Hello,
I set up uppy to work with Tus as described in the docs. Inside of the client after successful upload I receive following endpoint after successful uploaded:
127.0.0.1:8000/files
But as my datastore is not FileStore but a remote store so I don't know how to setup uppy to that host/path. It would be great to see a full example on how tus and uppy needs to be configured. Thanks
Ow, I don't know if we can easily do that. This is about the final links to individual files, like shown in the Dashboard, right? AFAIK uploads in tusd don't respond with the final storage URL. The Tus plugin for Uppy just uses the URL it uploaded to. If you are able to reliably predict the final URL using just information that's known on the client, you can do something like this to set a custom URL:
uppy.on('upload-success', (file, upload) => {
// `upload` is the tus.Upload instance, idk if that could be useful
const uploadURL = computeURL(file)
uppy.setFileState(file.id, { uploadURL: uploadURL })
})
@goto-bus-stop yes I meant the individual files inside of the dashboard. I'll try your workaround thanks for your response