|
|
@ -101,6 +101,9 @@ server.prototype.start = function(){ |
|
|
bind_parts = ["0.0.0.0", this.bind]; |
|
|
bind_parts = ["0.0.0.0", this.bind]; |
|
|
} else{ |
|
|
} else{ |
|
|
bind_parts = this.bind.split(":"); |
|
|
bind_parts = this.bind.split(":"); |
|
|
|
|
|
if(bind_parts.length > 2){ |
|
|
|
|
|
throw new Error("YAPS, Malformed bind parameter:", this.bind); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|