* fix the set as default apps issue with links * Allow (. _ -) in the Mirotalk link --------- Co-authored-by: Pavan <pavannaik20@gmail.com>
This commit is contained in:
@@ -56,11 +56,12 @@ const IntegrationsContainer = ({
|
||||
|
||||
const handleUpdateUserDefaultConferencingApp = ({
|
||||
appSlug,
|
||||
appLink,
|
||||
onSuccessCallback,
|
||||
onErrorCallback,
|
||||
}: UpdateUsersDefaultConferencingAppParams) => {
|
||||
updateDefaultAppMutation.mutate(
|
||||
{ appSlug },
|
||||
{ appSlug, appLink },
|
||||
{
|
||||
onSuccess: () => {
|
||||
showToast("Default app updated successfully", "success");
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"label": "{TITLE}",
|
||||
"linkType": "static",
|
||||
"organizerInputPlaceholder": "https://p2p.mirotalk.com/join/80085ShinyPhone",
|
||||
"urlRegExp": "^(http|https):\\/\\/(p2p|sfu)\\.mirotalk\\.com\\/join\\/[a-zA-Z0-9]+$"
|
||||
"urlRegExp": "^(http|https):\\/\\/(p2p|sfu)\\.mirotalk\\.com\\/join\\/[a-zA-Z0-9._-]+$"
|
||||
}
|
||||
},
|
||||
"description": "Peer to peer real-time video conferences, optimized for small groups. Unlimited time, unlimited rooms each having 5-8 participants.",
|
||||
|
||||
Reference in New Issue
Block a user