mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
Log this neatly
This commit is contained in:
parent
be330cce41
commit
97bd3aceb3
@ -88,8 +88,8 @@ function requestHandler(req, res) {
|
|||||||
|
|
||||||
var boot = module.exports = function () {
|
var boot = module.exports = function () {
|
||||||
var port = process.env.PORT || 3000;
|
var port = process.env.PORT || 3000;
|
||||||
var bind_ip = process.env.BIND || '127.0.0.1';
|
var bind_ip = process.env.BIND || "127.0.0.1";
|
||||||
console.log("Server running on " + bind_ip + port);
|
console.log("Server running on http://" + bind_ip + ":" + port + "/");
|
||||||
http.createServer(requestHandler).listen(port, bind_ip);
|
http.createServer(requestHandler).listen(port, bind_ip);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user