full site update
This commit is contained in:
6
node_modules/cross-fetch/dist/node-polyfill.js
generated
vendored
6
node_modules/cross-fetch/dist/node-polyfill.js
generated
vendored
@@ -1,10 +1,10 @@
|
||||
const fetchNode = require('./node-ponyfill')
|
||||
const fetch = fetchNode.fetch.bind({})
|
||||
|
||||
fetch.polyfill = true
|
||||
|
||||
if (!global.fetch) {
|
||||
const fetch = fetchNode.fetch.bind({})
|
||||
|
||||
global.fetch = fetch
|
||||
global.fetch.polyfill = true
|
||||
global.Response = fetchNode.Response
|
||||
global.Headers = fetchNode.Headers
|
||||
global.Request = fetchNode.Request
|
||||
|
Reference in New Issue
Block a user