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