diff --git a/server.js b/server.js index b833c0a..0dd8921 100644 --- a/server.js +++ b/server.js @@ -1,4 +1,3 @@ -const path = require('path'); const express = require('express'); const app = express(); const port = process.env.PORT || 3000; @@ -78,10 +77,6 @@ User.exists({role: roles.SuperAdmin}, function (err, docs){ } }); -app.get('/*all', function(req,res) { - res.sendFile(path.join(__dirname+ '/dist/index.html')); -}); - app.listen(port, '0.0.0.0',() => { console.log (`listening on port ${port}`); });