From 0a01b63b91ab59408fe5527511625c8337198647 Mon Sep 17 00:00:00 2001 From: Will Baumbach Date: Tue, 21 Apr 2020 22:23:19 -0400 Subject: [PATCH] fix pls --- server.js | 3 +-- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 282f81b..25971c2 100644 --- a/server.js +++ b/server.js @@ -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 diff --git a/tsconfig.json b/tsconfig.json index 30956ae..ef498e9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "module": "esnext", "moduleResolution": "node", "importHelpers": true, - "target": "es2015", + "target": "es5", "typeRoots": [ "node_modules/@types" ],