Skip to content

Commit 6004ee5

Browse files
committed
instancing the server in app.js
1 parent b84a8b9 commit 6004ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/modules/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const express = require("express");
2-
const port = process.env.PORT || 3000;
32
const { Server } = require("socket.io");
3+
const port = process.env.PORT || 3000;
44

55
const app = express();
66
app.use(express.static(__dirname.replace("modules", "public")));

0 commit comments

Comments
 (0)