Skip to content

Commit

Permalink
replace isomorphic-fetch with fetch-with-proxy to enable outline to r…
Browse files Browse the repository at this point in the history
…un behind a proxy
  • Loading branch information
thllwg committed Feb 16, 2021
1 parent bddefc4 commit dad89f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion server/slack.js
@@ -1,6 +1,7 @@
// @flow
import querystring from "querystring";
import fetch from "isomorphic-fetch";
//import fetch from "isomorphic-fetch";
import fetch from "fetch-with-proxy"
import { InvalidRequestError } from "./errors";

const SLACK_API_URL = "https://slack.com/api";
Expand Down
3 changes: 2 additions & 1 deletion server/utils/updates.js
@@ -1,7 +1,8 @@
// @flow
import crypto from "crypto";
import invariant from "invariant";
import fetch from "isomorphic-fetch";
//import fetch from "isomorphic-fetch";
import fetch from "fetch-with-proxy";
import packageInfo from "../../package.json";

import { User, Team, Collection, Document } from "../models";
Expand Down

0 comments on commit dad89f8

Please sign in to comment.