提交 a549a58f 编写于 作者: K Konstantin Tarkus

Use bluebird Promise library in node-fetch > Response

上级 4cad6f73
......@@ -12,6 +12,7 @@ import fetch, { Request, Headers, Response } from 'node-fetch';
import { host } from '../../config';
fetch.Promise = Promise;
Response.Promise = Promise;
function localUrl(url) {
if (url.startsWith('//')) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册