madatajs / madata

Make any cloud service with an API your backend! WIP
https://madata.dev
MIT License
35 stars 3 forks source link

`new URL(url, location)` throws in Node with the “location is not defined“ reference error #74

Closed DmitrySharabin closed 6 months ago

DmitrySharabin commented 6 months ago

It breaks the Dropbox backend because of this line:

https://github.com/madatajs/madata/blob/6b72e25d654bb19e1781ab5768a156a1bdf99933/backends/dropbox/index.js#L89