I am having problems uploading images to my own server, both online, and local with xampp.
I have copied the uploader from the examples.
On the line
.use(Uppy.Tus, {endpoint: ‘https://master.tus.io/files/’}) //you can put upload URL here, where you want to upload images
Using this endpoint, I get instant upload, but when I amended the endpoint to point to my own servers, I always get a 404. I have a (separate) simple uploader, (standard $_files POST), which uploads to the same folders without issue.
Both the uppy and separate simple uploader files are in
/test/simpleupload/ folder
I have tried both of these as folders to receive the files:
/uploads and
/test/simpleupload/uploads2
The URLs that I have used as endpoints are
mydomain/uploads/
…/…/uploads/
mydomain/test/simpleupload/uploads2/
uploads2/
All bring up a 404.
What am I doing wrong? What have I missed?