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