diff --git a/index.js b/index.js index dd4b860..56552ae 100644 --- a/index.js +++ b/index.js @@ -9,8 +9,8 @@ const http = require("http").Server(app); const io = require("socket.io")(http); const db = require(path.normalize(`${__dirname}/database.js`)) -const { Room } = require(path.normalize(`${__dirname}/businesses/Room.js`)); -const { Player } = require(path.normalize(`${__dirname}/businesses/Player.js`)); +const { Room } = require(path.normalize(`${__dirname}/models/Room.js`)); +const { Player } = require(path.normalize(`${__dirname}/models/Player.js`)); const secretKey = process.env.COOKIE_SECRET_KEY; const port = 3000; @@ -534,4 +534,4 @@ const sendMoveToPlayers = (moveData) => { http.listen(port, () => { //console.log(`Listening on http://localhost:${port}`); -}); \ No newline at end of file +});