diff --git a/backend/index.js b/backend/index.js index be56726..ad7e2f3 100644 --- a/backend/index.js +++ b/backend/index.js @@ -35,6 +35,7 @@ app.use(express.static(path.join(__dirname, 'frontend'))); app.use(express.static(`${__dirname}/./frontend`)); app.all("/*", function (req, res, next) { if (!/\/simcompanies\/API\/.*/.test(req.url)) { + console.log("call") return res.sendFile(path.join(__dirname, 'frontend', 'index.html')); } else return next(); })