fix url characters for videochat app
This commit is contained in:
parent
08f31a0bbd
commit
ac69e09aca
|
|
@ -89,7 +89,7 @@ export class VideoChatShape extends BaseBoxShapeUtil<IVideoChatShape> {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
name: `canvas-room-${shape.id}`,
|
name: `canvas-room-${shape.id.replace(/[^A-Za-z0-9-_]/g, "-")}`,
|
||||||
privacy: "public",
|
privacy: "public",
|
||||||
properties: {
|
properties: {
|
||||||
enable_chat: true,
|
enable_chat: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue