openimsdk / open-im-sdk-web-wasm

JS SDK for OpenIM Web use by Webassembly of go
https://openim.io
Apache License 2.0
29 stars 37 forks source link

How to re initialize IMSDK? #88

Open ebwood opened 1 month ago

ebwood commented 1 month ago

OpenIM Server Version

3.7.0

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

I have both development and test environment with different config urls. After switching the env, IMSDK.login will call again, but the ws_url used by underlying openIM is not changing. How can i force to switch to new ws_url?

Screenshots Link

No response