docker-ubuntu-vnc-desktop/tty.js/tty-me.js
2014-03-12 09:30:43 +08:00

15 lines
219 B
JavaScript

var tty = require('tty.js');
var app = tty.createServer({
shell: 'login',
//users: {
// foo: 'bar'
//},
port: 3000
});
//app.get('/foo', function(req, res, next) {
// res.send('bar');
//});
app.listen();