Skip to content

Commit

Permalink
update websocket addr to adaptive
Browse files Browse the repository at this point in the history
  • Loading branch information
ReiujiUtsuho committed Jan 1, 2020
1 parent a1080e1 commit d3553d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h5>实时聊天</h5>
<script type="text/javascript" src="https://cdn.zerodream.net/js/materialize.min.js"></script>
<script type="text/javascript">
// 配置
var ws_hostname = 'wss://your-domain.com:810/';
var ws_hostname = 'ws://'+self.location.hostname+':811/';

// 初始化变量
var websocket;
Expand Down

0 comments on commit d3553d6

Please sign in to comment.