聊天室修复https问题
This commit is contained in:
1 parent
55dd82831d
commit
433d233655
2 files changed
+2
-2
No files matched your search
@@ -53,6 +53,6 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<script src="http://node.dengtongyu.com/node_modules/socket.io-client/dist/socket.io.js"></script>
|
<script src="/node_modules/socket.io-client/dist/socket.io.js"></script>
|
||||||
<script src="./index.js?v={[now()]}"></script>
|
<script src="./index.js?v={[now()]}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
//加载弹窗组件(不用可去掉)
|
//加载弹窗组件(不用可去掉)
|
||||||
//var dialog = require('../../script/extends/phone/dialog');
|
//var dialog = require('../../script/extends/phone/dialog');
|
||||||
|
|
||||||
var socket = io.connect('http://node.dengtongyu.com/chat');
|
var socket = io.connect('/chat');
|
||||||
//var socket = io.connect('http://localhost:8080/chat');
|
//var socket = io.connect('http://localhost:8080/chat');
|
||||||
var msgBox = $('#msg-content');
|
var msgBox = $('#msg-content');
|
||||||
var onlineUsersDom = $('#online-users');
|
var onlineUsersDom = $('#online-users');
|
||||||
|
|||||||
Reference in new issue
Block a user