diff --git a/server.js b/server.js index b2a315d..8ae70dd 100644 --- a/server.js +++ b/server.js @@ -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')); });