commit
c619e00ab7
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(__dirname + '/' + 'index.html');
|
||||||
});
|
});
|
||||||
|
|
||||||
app.start = function(port, callback) {
|
app.start = function(port, callback) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue