Skip to content

Commit 4280b7b

Browse files
authored
Update README.md
1 parent 6342c52 commit 4280b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ php start.php status
3939
<script src='//cdn.bootcss.com/socket.io/1.3.7/socket.io.js'></script>
4040
<script>
4141
// 初始化io对象
42-
var socket = io('http://'+document.domain+':3120');
42+
var socket = io('http://'+document.domain+':2120');
4343
// uid 可以为网站用户的uid,作为例子这里用session_id代替
4444
var uid = '<?php echo session_id();?>';
4545
// 当socket连接后发送登录请求

0 commit comments

Comments
 (0)