mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
listen on all interfaces by default
This commit is contained in:
parent
eb8bc85ee2
commit
7ca7006736
@ -91,7 +91,7 @@ var exp = {};
|
||||
|
||||
exp.boot = function(callback) {
|
||||
var port = process.env.PORT || 3000;
|
||||
var bind_ip = process.env.BIND || "127.0.0.1";
|
||||
var bind_ip = process.env.BIND || "0.0.0.0";
|
||||
logging.log("Server running on http://" + bind_ip + ":" + port + "/");
|
||||
server = http.createServer(requestHandler).listen(port, bind_ip, function() {
|
||||
if (callback) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user