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
throw an Error when non-unix bind has multiple :
master
Brett Langdon
12 years ago
parent
466d1b706d
commit
81478224ce
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
lib/server.js
+ 3
- 0
lib/server.js
View File
@ -101,6 +101,9 @@ server.prototype.start = function(){
bind_parts
=
[
"0.0.0.0"
,
this
.
bind
]
;
}
else
{
bind_parts
=
this
.
bind
.
split
(
":"
)
;
if
(
bind_parts
.
length
>
2
)
{
throw
new
Error
(
"YAPS, Malformed bind parameter:"
,
this
.
bind
)
;
}
}
}
Write
Preview
Loading…
Cancel
Save