ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit a549a58f8d2473b6449cec119d3395bfeeb2fddf
parent 4cad6f73c05ff60e570797a07f585cb40c1511d7
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Mon,  7 Mar 2016 14:03:07 +0300

Use bluebird Promise library in node-fetch > Response

Diffstat:
Msrc/core/fetch/fetch.server.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/core/fetch/fetch.server.js b/src/core/fetch/fetch.server.js @@ -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('//')) {