Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit ec7ac00

Browse files
committed
use the latest version of express
1 parent 950a10a commit ec7ac00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"dependencies": {
10-
"express": "2.5.x"
10+
"express": "~3.3.4"
1111
},
1212
"engines": {
1313
"node": "0.8.x",

web.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var express = require('express');
2-
3-
var app = express.createServer(express.logger());
2+
var app = express();
3+
app.use(express.logger());
44

55
app.get('/', function(request, response) {
66
response.send('Hello World!');

0 commit comments

Comments
 (0)