update to sendFile
This commit is contained in:
parent
6dfc59c523
commit
afcbc04b77
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
|
@ -4,7 +4,7 @@ var app = express();
|
||||||
|
|
||||||
app.use('/', express.static(__dirname + '/'));
|
app.use('/', express.static(__dirname + '/'));
|
||||||
app.get('*', function(req, res) {
|
app.get('*', function(req, res) {
|
||||||
return res.sendfile('index.html');
|
return res.sendFile('index.html');
|
||||||
});
|
});
|
||||||
|
|
||||||
app.start = function(port, callback) {
|
app.start = function(port, callback) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue