diff --git a/bob_party/server.js b/bob_party/server.js index 68b4401..3eef2ce 100644 --- a/bob_party/server.js +++ b/bob_party/server.js @@ -1,12 +1,14 @@ const express = require('express'); -const app = express(); const http = require('http'); -const server = http.createServer(app); const { Server } = require("socket.io"); + + +const app = express(); +const server = http.createServer(app); const io = new Server(server); -app.get('/', function (req, res) { +app.get('/server', function (req, res) { res.send('hello'); })