[bemo] allow special chars in roomId (#4153)
if people did weird room ids with non-url-safe chars like `blah/whatever` it wouldn't work. this fixes that ### Change type - [ ] `bugfix` - [x] `improvement` - [ ] `feature` - [ ] `api` - [ ] `other` ### Test plan 1. Create a shape... 2. - [ ] Unit tests - [ ] End to end tests ### Release notes - Fixed a bug with…
This commit is contained in:
parent
85f36639ff
commit
e4bfae4172
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export function useMultiplayerDemo({
|
|||
const assets = useMemo(() => createDemoAssetStore(host), [host])
|
||||
|
||||
return useMultiplayerSync({
|
||||
uri: `${host}/connect/${roomId}`,
|
||||
uri: `${host}/connect/${encodeURIComponent(roomId)}`,
|
||||
roomId,
|
||||
userPreferences,
|
||||
assets,
|
||||
|
|
Loading…
Reference in a new issue