Set the default port(8124)

This commit is contained in:
Raincole 2011-06-11 03:25:05 +08:00
parent c60913854f
commit 1a4b9ec745

View file

@ -66,7 +66,7 @@ app.post('/edit-column', function(req, res) {
res.send(req.body.value);
});
app.listen(process.argv[2]);
app.listen(process.argv[2] || 8124);
//I limit the number of potential transports because xhr was causing trouble
//with frequent disconnects