Browse Source

serve trixl on a shorter url as well.

Lucas Stadler 12 years ago
parent
commit
4145f00578
1 changed files with 4 additions and 0 deletions
  1. 4 0
      js/pixl/server.js

+ 4 - 0
js/pixl/server.js

@ -7,6 +7,10 @@ var path = require('path');
7 7
var app = express();
8 8
app.use(express.static(__dirname + "/public"));
9 9
10
app.get('/3', function(req, res) {
11
	res.sendfile('trixl.html', {root: './public'});
12
});
13
10 14
app.get('/stats', function(req, res) {
11 15
	var stats = {
12 16
		users: wss.clients.length,