Update
This commit is contained in:
parent
5e6dbdab39
commit
d2e750c446
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ db.mongoose
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.use(express.static(__dirname + '/dist/frontend'));
|
//app.use(express.static(__dirname + '/dist/frontend'));
|
||||||
app.get('/*', function(req,res) {
|
app.get('/*', function(req,res) {
|
||||||
res.sendFile(path.join(__dirname+ '/dist/frontend/index.html'));
|
res.sendFile(path.join(__dirname+ '/dist/frontend/index.html'));
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Reference in a new issue