We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9dba1 commit 1c0dcd7Copy full SHA for 1c0dcd7
package.json
@@ -31,7 +31,7 @@
31
"grunt-contrib-jshint": "0.10.0",
32
"grunt-contrib-clean": "0.6.0",
33
"load-grunt-tasks": "0.6.0",
34
- "grunt-express": "1.4.1",
35
- "express": "4.7.2"
+ "express": "~3.4.8",
+ "grunt-express": "~1.2.1"
36
}
37
server.js
@@ -27,11 +27,9 @@ app.configure(function () {
27
app.use(express.bodyParser());
28
app.use(express.methodOverride());
29
app.use(express.errorHandler());
30
- app.use(express.static(path.join(__dirname, 'demo')));
+ app.use(express.static(__dirname));
app.use(app.router);
- console.log(path.join(__dirname, 'demo'));
-
app.get('/api/demo-config', getDemoConfig);
app.get('/api/demo-config-2', getDemoConfig);
});
0 commit comments