Explorar el Código

serve trixl on a shorter url as well.

Lucas Stadler %!s(int64=12) %!d(string=hace) años
padre
commit
4145f00578
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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,