When I try to use the <webdav npm library>, I run ...
# javascript
j
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
the server has to enable CORS
thank you color 1
j
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
*
.