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>
This commit is contained in:
Peer Richelsen
2023-03-27 21:01:34 +02:00
committed by GitHub
co-authored by Alex van Andel
parent 78da57055e
commit 08ad4c07ea
+1 -1
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\-._~:?#\[\]@!$&'()*+,;%=]+)*$"
}
}
}