Skip to content

Commit 9ce723e

Browse files
authored
Update README.md
1 parent bad36ce commit 9ce723e

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
@@ -34,7 +34,7 @@ onMounted(() => {
3434
var connection = new Push({
3535
url: 'ws://127.0.0.1:3131', // websocket地址
3636
app_key: '<app_key,在config/plugin/webman/push/app.php里获取>',
37-
auth: '/plugin/webman/push/auth' // 订阅鉴权(仅限于私有频道)
37+
auth: 'https://你的域名.com/plugin/webman/push/auth' // 订阅鉴权(仅限于私有频道)
3838
});
3939

4040
// 假设用户uid为1

0 commit comments

Comments
 (0)