projects
/
nodejsws.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test redirection
[nodejsws.git]
/
app.js
1
var http = require("http"),
2
url = require("url"),
3
path = require("path"),
4
fs = require("fs"),
5
req = require("./lib/wsrequest.js"),
6
port = process.argv[2] || 8888;
7
8
http.createServer(req.wsRequest).listen(port);
9
10
console.log("Server running on port: ", port);