mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-20 19:44:21 +00:00
11 lines
189 B
JavaScript
11 lines
189 B
JavaScript
const AnyProxy = require('../proxy');
|
|
|
|
const options = {
|
|
port: 8001,
|
|
webInterface: {
|
|
enable: true
|
|
}
|
|
};
|
|
const proxyServer = new AnyProxy.ProxyServer(options);
|
|
proxyServer.start();
|