mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Add a settings file
This commit is contained in:
parent
7c4502951a
commit
8da3c04b41
3 changed files with 48 additions and 1 deletions
|
@ -19,6 +19,7 @@ var http = require('http')
|
|||
, fs = require('fs')
|
||||
, io = require('socket.io')
|
||||
, sys = require('sys')
|
||||
, settings = require('./settings')
|
||||
, server;
|
||||
|
||||
server = http.createServer(function(req, res){
|
||||
|
@ -56,7 +57,7 @@ server = http.createServer(function(req, res){
|
|||
send404(res, path);
|
||||
}
|
||||
});
|
||||
server.listen(9001);
|
||||
server.listen(settings.port);
|
||||
console.log("Server is listening at port 9001");
|
||||
|
||||
function randomPadName() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue