Skip to content

Commit

Permalink
fix: the set as default apps issue with links #19176 (#19198)
Browse files Browse the repository at this point in the history
* fix the set as default apps issue with links

* Allow (. _ -) in the Mirotalk link

---------

Co-authored-by: Pavan <[email protected]>
  • Loading branch information
PAVANNAIK25 and Pavan authored Feb 10, 2025
1 parent 720136f commit 77d0fa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion packages/app-store/mirotalk/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit 77d0fa9

Please sign in to comment.