some cleanup to file structure and heroku run server
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ const PORT = process.env.PORT || 8080;
|
|||||||
|
|
||||||
app.use(express.static('dist'));
|
app.use(express.static('dist'));
|
||||||
|
|
||||||
// viewed at http://localhost:8080
|
// viewed at http://localhost:8081
|
||||||
app.get('*', function(req, res) {
|
app.get('*', function(req, res) {
|
||||||
res.sendFile('index.html');
|
res.sendFile('index.html');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user