From 1b4653e8e0383574ca37c3065620b3f74d9286d6 Mon Sep 17 00:00:00 2001 From: Raghu-Ch Date: Mon, 10 Sep 2018 14:12:13 -0400 Subject: [PATCH] the last commit --Heroku_deploy --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index fccbebd..3089c13 100644 --- a/server.js +++ b/server.js @@ -5,11 +5,11 @@ const path = require('path'); const app = express(); // Serve only the static files form the dist directory -app.use(express.static(__dirname + '/dist')); +app.use(express.static(__dirname + '/dist/zid')); app.get('/*', function (req, res) { - res.sendFile(path.join(__dirname + '/dist/index.html')); + res.sendFile(path.join(__dirname + '/dist/zid/index.html')); }); // Start the app by listening on the default Heroku port