mirror of https://github.com/sundowndev/http.git
fix(ky-universal): server importing es bundle (#121)
Co-authored-by: pooya parsa <pyapar@gmail.com>master
parent
4ef88e4182
commit
029dea6f04
|
@ -1,4 +1,5 @@
|
|||
const fetch = require('node-fetch')
|
||||
const fetch = process.server ? require('node-fetch/lib/index.js') : require('node-fetch/browser.js')
|
||||
|
||||
const AbortController = require('abort-controller')
|
||||
|
||||
const TEN_MEGABYTES = 1000 * 1000 * 10
|
||||
|
|
Loading…
Reference in New Issue