please work!!

This commit is contained in:
Will Baumbach
2020-04-21 22:32:37 -04:00
parent 0a01b63b91
commit 9a170a4953

View File

@@ -5,7 +5,7 @@ const path = require('path');
const app = express();
// Serve only the static files form the dist directory
app.use(express.static('./dist/{{your-app-name}}'));
app.use(express.static('./dist/cardWorkout'));
app.get('/*', function(req,res) {
res.sendFile(path.join(__dirname,'/dist/cardWorkout/index.html'));