some cleanup to file structure and heroku run server

This commit is contained in:
talksik
2019-06-23 14:47:39 -07:00
parent 861fba7ea9
commit 5a9193c3c9
2 changed files with 2 additions and 18 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ const PORT = process.env.PORT || 8080;
app.use(express.static('dist'));
// viewed at http://localhost:8080
// viewed at http://localhost:8081
app.get('*', function(req, res) {
res.sendFile('index.html');
res.sendFile('index.html');
});
console.log('Starting server on port: ' + PORT);
-16
View File
@@ -1,16 +0,0 @@
-> Root
-> Home
-> LoginForm
-> SignupForm
-> Main
-> Sidebar (always showing)
-> Dashboard
-> My Grants
-> Charities
-> My History (past payments list)
-> Settings
-> (bottom of sidebar) Profile
// `npm start` to serve built index.html to HEROKU