added better regex for whereby allowing subdomains (#7957)

* added better regex for whereby allowing subdomains

* Update packages/app-store/whereby/config.json

Co-authored-by: Alex van Andel <me@alexvanandel.com>

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
pull/7789/head
Peer Richelsen 2023-03-27 21:01:34 +02:00 committed by GitHub
parent 78da57055e
commit 08ad4c07ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
"type": "integrations:whereby_video",
"label": "Whereby Video",
"organizerInputPlaceholder": "https://www.whereby.com/cal",
"urlRegExp": "^http(s)?:\\/\\/(www\\.)?(team.)?whereby.com\\/[a-zA-Z0-9]*"
"urlRegExp": "^(?:https?:\/\/)?(?:(?!.*-\.)(?:\w+(-\w+)*\.))*whereby\.com(\/[\w\-._~:?#\[\]@!$&'()*+,;%=]+)*$"
}
}
}