https post
This commit is contained in:
parent
f3765ccbaa
commit
37e994d6d1
@ -1,5 +1,6 @@
|
||||
const WebSocket = require('ws');
|
||||
var https = require('https');
|
||||
const fs = require('fs');
|
||||
|
||||
var websocket_port = 8888;
|
||||
const wss = new WebSocket.Server({port: websocket_port});
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
<script>
|
||||
var classes_code_input = $('#classes_code_input').html();
|
||||
const client = new WebSocket('wss://150.254.78.197:8888', classes_code_input);
|
||||
const client = new WebSocket('wss://atcheck.projektstudencki.pl/wss', classes_code_input);
|
||||
|
||||
client.onmessage = function onmessage1(message) {
|
||||
message = JSON.parse(message.data);
|
||||
|
Loading…
Reference in New Issue
Block a user