Update
This commit is contained in:
parent
cda8af0b6c
commit
5e6dbdab39
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ db.mongoose
|
|||
});
|
||||
|
||||
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'));
|
||||
});
|
||||
|
||||
|
|
|
|||
Reference in a new issue