Allow both http and https URLs
This commit is contained in:
1 parent
379ae11405
commit
b7bb31cb95
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class TwilioCallNotificationService(BaseNotificationService):
|
||||
_LOGGER.info("At least 1 target is required")
|
||||
return
|
||||
|
||||
if message.startswith("http://"):
|
||||
if message.startswith(("http://", "https://")):
|
||||
twimlet_url = message
|
||||
else:
|
||||
twimlet_url = "http://twimlets.com/message?Message="
|
||||
|
||||
Reference in new issue
Block a user