Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信小程序安全域名 #100

Open
yangweijie opened this issue Oct 20, 2023 · 0 comments
Open

微信小程序安全域名 #100

yangweijie opened this issue Oct 20, 2023 · 0 comments

Comments

@yangweijie
Copy link
Owner

Tutorial: WebSocket 升级指引(Web & 小程序)

2、小程序接入,更改受信域名
小程序使用前,需要将以下域名设为受信域名(已有的 im 受信域名可以都删掉):

wss://wss.im.qcloud.com
wss://wss.tim.qq.com
https://web.sdk.qcloud.com
https://webim.tim.qq.com
https://api.im.qcloud.com
将以下域名添加到 downloadFile 合法域名:

https://cos.ap-shanghai.myqcloud.com
https://cos.ap-shanghai.tencentcos.cn
https://cos.ap-guangzhou.myqcloud.com
将以下域名添加到 uploadFile 合法域名:

https://cos.ap-shanghai.myqcloud.com
https://cos.ap-shanghai.tencentcos.cn
https://cos.ap-guangzhou.myqcloud.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant