https node fix

This commit is contained in:
barwie2@st.amu.edu.pl 2020-03-08 19:08:20 +01:00
parent e181c4044d
commit 40cc2c1b0a

View File

@ -1,5 +1,6 @@
const WebSocket = require('ws'); const WebSocket = require('ws');
var https = require('https'); var https = require('https');
const fs = require('fs');
var websocket_port = 8888; var websocket_port = 8888;
const wss = new WebSocket.Server({port: websocket_port}); const wss = new WebSocket.Server({port: websocket_port});