main page
This commit is contained in:
commit
7fb446c53a
8943 files changed
+1209030
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
const fetchNode = require('./node-ponyfill')
|
||||
const fetch = fetchNode.fetch.bind({})
|
||||
|
||||
fetch.polyfill = true
|
||||
|
||||
if (!global.fetch) {
|
||||
global.fetch = fetch
|
||||
global.Response = fetchNode.Response
|
||||
global.Headers = fetchNode.Headers
|
||||
global.Request = fetchNode.Request
|
||||
}
|
||||
Reference in new issue
Block a user