When I try to use the webdav npm library, I run into a CORS error. Makes sense, because I'm doing a request from localhost to some other domain. But then how does the Dropbox JS SDK work without me configuring CORS on my server?
a
andylamax
03/20/2024, 2:41 PM
the server has to enable CORS
thank you color 1
j
Jacob Ras
03/20/2024, 2:42 PM
Yeah, thanks! I had it wrong in my head about the requesting server needing to want it 🙂 I checked and indeed: the Dropbox api domain sets the origin to