This commit is contained in:
Will Baumbach
2020-04-21 22:23:19 -04:00
parent 11b68d1637
commit 0a01b63b91
2 changed files with 2 additions and 3 deletions

View File

@@ -8,8 +8,7 @@ const app = express();
app.use(express.static('./dist/{{your-app-name}}'));
app.get('/*', function(req,res) {
res.sendFile(path.join(__dirname,'/dist/cardWorkout/index.html'));
res.sendFile(path.join(__dirname,'/dist/cardWorkout/index.html'));
});
// Start the app by listening on the default Heroku port

View File

@@ -10,7 +10,7 @@
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"target": "es5",
"typeRoots": [
"node_modules/@types"
],