You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

server.js 291B

2 vuotta sitten
1234567891011
  1. var express = require('express');
  2. var app = express();
  3. app.get('/', function (req, res) {
  4. res.status(200).send('ok');
  5. });
  6. var server = app.listen(3000, function () {
  7. var port = server.address().port;
  8. console.log('Example app listening at port %s', port);
  9. });
  10. module.exports = server;

Powered by TurnKey Linux.