Allow both http and https URLs
parent
379ae11405
commit
b7bb31cb95
|
@ -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="
|
||||
|
|
Loading…
Reference in New Issue