This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
yaps
mirror of
https://github.com/brettlangdon/yaps.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
fix server bind bug
master
Brett Langdon
12 years ago
parent
e4a9d87ad7
commit
466d1b706d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/server.js
+ 1
- 1
lib/server.js
View File
@ -98,7 +98,7 @@ server.prototype.start = function(){
bind_parts
[
1
]
=
this
.
bind
;
}
else
{
if
(
!
~
this
.
bind
.
indexOf
(
":"
)
)
{
bind_parts
=
[
this
.
bind
,
"0.0.0.0"
]
;
bind_parts
=
[
"0.0.0.0"
,
this
.
bind
]
;
}
else
{
bind_parts
=
this
.
bind
.
split
(
":"
)
;
}
Write
Preview
Loading…
Cancel
Save