diff --git a/index.js b/index.js index 8b83e5c..3df3398 100644 --- a/index.js +++ b/index.js @@ -2,8 +2,8 @@ import { EventEmitter } from 'events' import util from './lib/util.js' import url from 'url' import _ from 'koa-route' -import { HttpsProxyAgent } from 'https-proxy-agent' -import { HttpProxyAgent } from 'http-proxy-agent' +import HttpsProxyAgent from 'https-proxy-agent' +import HttpProxyAgent from 'http-proxy-agent' import http from 'http' import https from 'https'