Skip to content
This repository was archived by the owner on Mar 21, 2020. It is now read-only.

Commit b6b1ec1

Browse files
committed
re write
1 parent 7d079c3 commit b6b1ec1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
使用 socket.io 官网的 chat demo server 实现的 小程序版 聊天室应用
99
使用 “微信开发者工具” 将 `weapp_demo` 目录打开,运行调试即可
1010

11-
***Demo 线上版本正在审核中。。。***
12-
13-
> Note: 服务器地址本来是使用的 `ws:chat.socket.io` ,但是为了发布上线,小程序仅支持 `wss``https`,所以我自己加了 wss 代理:`wss:chat.matong.io`,这两个地址都是可以用的。
14-
1511
# Features
1612
目前已支持
1713
* Namespace

dist/index.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

weapp_demo/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ console.log('io ---> ' ,io)
66
App({
77
onLaunch: function() {
88
// create a new socket object
9-
const socket = io("ws://chat.socket.io/")
9+
const socket = io("ws://chat.socket.io")
1010
this.globalData.socket = socket
1111
},
1212

weapp_demo/wxsocket.io/index.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)