Skip to content

Commit 0978621

Browse files
committed
Added missing www file
bin/www file was ignored in .gitignore. Added missing file.
1 parent 62f1c65 commit 0978621

File tree

2 files changed

+10
-1
lines changed
  • samples/features/json/todo-app/nodejs-express4-rest-api

2 files changed

+10
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules/*
2-
bin/*
2+
bin/*.dll
33
obj/*
44
*.sln
55
*.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env node
2+
var debug = require('debug')('nodejs_express4_rest_api');
3+
var app = require('../app');
4+
5+
app.set('port', process.env.PORT || 3000);
6+
7+
var server = app.listen(app.get('port'), function() {
8+
debug('Express server listening on port ' + server.address().port);
9+
});

0 commit comments

Comments
 (0)