mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
match style requested by @cronopio
This commit is contained in:
parent
06e78f2747
commit
415d4ed908
@ -79,10 +79,10 @@ else {
|
|||||||
//
|
//
|
||||||
// Start the server
|
// Start the server
|
||||||
//
|
//
|
||||||
if (!host) {
|
if (host) {
|
||||||
server.listen(port);
|
|
||||||
} else {
|
|
||||||
server.listen(port, host);
|
server.listen(port, host);
|
||||||
|
} else {
|
||||||
|
server.listen(port);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user