From 13a98862924adc7d32be0df2fe3c603dbf26afb5 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Thu, 14 Mar 2019 05:57:17 +0100 Subject: [PATCH] Fix the path --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5ad208b..84a245d 100644 --- a/index.js +++ b/index.js @@ -98,7 +98,7 @@ app.post("/payforalert", function(request, response) { // Anything that doesn't match the above, send back index.html app.get('*', (req, res) => { - res.sendFile(path.join(__dirname + './frontend-react/build/index.html')) + res.sendFile(path.join(__dirname + '/frontend-react/build/index.html')) }) app.listen(port, () => console.log(`Example app listening on port ${port}!`));