Hey guys;
I’m trying to hook up TUS…
The good part: I have pushed the TUS Go application to heroku and its sitting their waiting for work to do.
The confusing part: when I click to upload a file with Uppy, it sends out a request to an http address instead of the https address I have it configured with.
uppy.use(Tus, { endpoint: `https://my-end-point/files/`, resume: true, autoRetry: true, retryDelays: [0, 1000, 3000, 5000] })But the XHR goes out as http://my-end-point/files/dsaisuyduiasdyusiad and I therefore CORS stops it.
I am putting together a reverse proxy on heroku to allow the https calls to be passed on to the TUS server but I am confused why the request doesn’t go out with the https protocol specified.
Any pointers savoured and appreciated.
Cheers 🙂