-
-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue Summary
XMLHttpRequest is not defined in Netlify Functions
To Reproduce
- Try to fetch content via Content API JS SDK in netlify function
I think @tryghost/content-api
uses axios to send AJAX requests. Axios depends heavily on XMLHttpRequest for its functioning.
Possible alternatives can be https://github.com/developit/redaxios
Technical details:
- Ghost Version: 3.41.4
- Node Version: 12.20.1
- Browser/OS: Irrelevant
- Database: mysql
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working