mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
* Document new Procfile feature * Add and update tests * Fix a typo in generate_scale_file (ref #1923)
13 lines
279 B
JavaScript
13 lines
279 B
JavaScript
var express = require('express');
|
|
|
|
var app = express.createServer(express.logger());
|
|
|
|
app.get('/', function(request, response) {
|
|
response.send('nodejs/express');
|
|
});
|
|
|
|
var port = process.env.PORT || 5000;
|
|
app.listen(port, function() {
|
|
console.log("Listening on " + port);
|
|
});
|