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

Solution to long loading time of openIM.wasm file #82

Closed
thydself opened this issue Apr 16, 2024 · 2 comments
Closed

Solution to long loading time of openIM.wasm file #82

thydself opened this issue Apr 16, 2024 · 2 comments

Comments

@thydself
Copy link

What would you like to share?

未加cdn
image
加了cdn之后
image

代码引入cdn 的位置:
image

getSDK的时候加入2个path 参数,填你cdn的path就好了

Additional information

No response

@Bloomingg Bloomingg pinned this issue Apr 24, 2024
@cipchk
Copy link
Contributor

cipchk commented Jul 15, 2024

CDN 会引发 CORS,哪怕是同域的情况下并且启用相关的 Access-Control-Allow

@Bloomingg
Copy link
Member

CDN 会引发 CORS,哪怕是同域的情况下并且启用相关的 Access-Control-Allow

You need to consult the CDN service provider you use.

@Bloomingg Bloomingg changed the title openIM.wasm文件加载时间过长解决方案 Solution to long loading time of openIM.wasm file Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants