fix: Add server-side proxy support via fetch-with-proxy (#2044)

* fix: Add server-side proxy support via fetch-with-proxy

closes #1893

For some fun discussion on why this is required, see this issue: https://github.com/nodejs/node/issues/8381

* lint
This commit is contained in:
Tom Moor
2021-05-12 22:37:32 -07:00
committed by GitHub
parent 3bd56fff9e
commit 447371f35a
6 changed files with 26 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
// @flow
import crypto from "crypto";
import fetch from "fetch-with-proxy";
import invariant from "invariant";
import fetch from "isomorphic-fetch";
import packageInfo from "../../package.json";
import { User, Team, Collection, Document } from "../models";