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" ],