UNPKG
@moquyun/proxy
Version:
latest (1.0.0)
1.0.0
Multi-user & multi-env web debugging proxy based on whistle
gitee.com/moquyun/nohost
@moquyun/proxy
/
lib
/
plugins
/
whistle.nohost
/
initial.js
10 lines
(8 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
initAccountMgr =
require
(
'./lib/accountMgr'
);
const
initEnvMgr =
require
(
'./lib/envMgr'
);
const
{ initPlugin } =
require
(
'./lib/util'
);
module
.
exports
=
(
options
) =>
{
initPlugin
(options);
const
accountMgr =
initAccountMgr
(options);
initEnvMgr
(accountMgr); };