Browse Source

WebSocket 8080

luyanan 7 years ago
parent
commit
97e990611a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/tidings.js

+ 1 - 1
js/tidings.js

@ -16,7 +16,7 @@ $(document).ready(function() {
16 16
	console.log(professorId)
17 17
	console.log(userid)
18 18
	function websocrket() {
19
		var ws = new WebSocket("ws://192.168.3.233:8081/portal/websocket/msg?id=" + userid + "&pm=www");
19
		var ws = new WebSocket("ws://192.168.3.233:8080/portal/websocket/msg?id=" + userid + "&pm=www");
20 20
		ws.onopen = function() {
21 21
			console.log(userid);
22 22
		};