Mise à jour de 'bob_party/server.js'
continuous-integration/drone/push Build is passing Details

peristanceBDD
Thomas CHAZOT 2 years ago
parent 0e64a6f75f
commit 8c263f2e06

@ -1,12 +1,14 @@
const express = require('express'); const express = require('express');
const app = express();
const http = require('http'); const http = require('http');
const server = http.createServer(app);
const { Server } = require("socket.io"); const { Server } = require("socket.io");
const app = express();
const server = http.createServer(app);
const io = new Server(server); const io = new Server(server);
app.get('/', function (req, res) { app.get('/server', function (req, res) {
res.send('hello'); res.send('hello');
}) })

Loading…
Cancel
Save