fix: the set as default apps issue with links #19176 (#19198)

* 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:
Pavan Naik
2025-02-10 20:29:22 +01:00
committed by GitHub
co-authored by Pavan
parent 720136fcf9
commit 77d0fa9ff8
2 changed files with 3 additions and 2 deletions
@@ -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");
+1 -1
View File
@@ -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.",