Skip to content

Commit

Permalink
cleaning up server file
Browse files Browse the repository at this point in the history
  • Loading branch information
anaunique24 committed Jul 6, 2023
1 parent 8c15f1e commit ea6468f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,13 @@ app.use(express.static(path.join(__dirname, 'public')));
app.use(routes);




var usernames = {};
var rooms = [
{ name: "global", creator: "Anonymous" },
{ name: "chess", creator: "Anonymous" },
];



io.on("connection", function (socket) {


Expand Down Expand Up @@ -116,10 +113,6 @@ io.on("connection", function (socket) {
});
});





sequelize.sync({ force: false }).then(() => {
http.listen(PORT, () => console.log(`Now listening http://localhost:${PORT}/`));
});

0 comments on commit ea6468f

Please sign in to comment.