Skip to content

Commit

Permalink
第二十五篇:打造属于你的聊天室(WebSocket)
Browse files Browse the repository at this point in the history
  • Loading branch information
levin950825 committed Jun 27, 2018
1 parent ac5c62a commit 1b7f3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter24/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<script type="text/javascript">
$(document).ready(function(){
var urlPrefix ='ws://127.0.0.1:8080/chat-room/';
var urlPrefix ='ws://localhost:8080/chat-room/';
var ws = null;
$('#btn_join').click(function(){
var username = $('#in_user_name').val();
Expand Down

0 comments on commit 1b7f3f2

Please sign in to comment.