diff --git a/.eslintrc.js b/.eslintrc.js index 35c035ea..34e16bfb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,7 @@ -// module.exports = { -// "extends": "standard", -// "rules": { -// "semi": [2, "always"], -// "indent": "off" -// } -// }; +module.exports = { + "extends": "standard", + "rules": { + "semi": [2, "always"], + "indent": "off" + } +}; diff --git a/app.js b/app.js index 56a8d898..f7e26ba8 100644 --- a/app.js +++ b/app.js @@ -9,7 +9,7 @@ const upcomingFilmsFile = './client/Data/upcoming.json'; app.use(express.json()); const path = require('path'); -app.use(express.static(path.join(__dirname, 'client/index.html'))); +app.use(express.static(path.join(__dirname, 'client'))); const bookings = require(bookingsFile); const currentFilms = require(currentFilmsFile);