Remove websocket code, show global spin count for users without JS, and new noscript class
This commit is contained in:
parent
56150f1ce8
commit
02a8a44125
5 changed files with 17 additions and 21 deletions
19
index.js
19
index.js
|
@ -40,25 +40,6 @@ app.get("/discHTML", (req, res) => {
|
|||
|
||||
app.use(pageUpdater.middleWare)
|
||||
|
||||
var sockets = []
|
||||
|
||||
|
||||
wsServer = WebSocket.Server;
|
||||
|
||||
let server = require('http').createServer()
|
||||
|
||||
wsServer = new wsServer({
|
||||
server: server,
|
||||
perMessageDeflate: false
|
||||
})
|
||||
|
||||
server.on('request', app)
|
||||
|
||||
wsServer.on("connection", function connection(socket) {
|
||||
console.log("BALLS")
|
||||
socket.send("FUCK")
|
||||
})
|
||||
|
||||
process.on('uncaughtException', (err, origin) => {
|
||||
fs.writeSync(
|
||||
process.stderr.fd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue