Skip to content

Commit

Permalink
Merge pull request #2 from MattFaus/master
Browse files Browse the repository at this point in the history
Respect WWW_SCHEME configuration
  • Loading branch information
Jonny Balls authored Dec 4, 2016
2 parents 8bb54a5 + faefc46 commit 55d4957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabot_alert_twilio/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def send_alert(self, service, users, duty_officers):
account_sid = env.get('TWILIO_ACCOUNT_SID')
auth_token = env.get('TWILIO_AUTH_TOKEN')
outgoing_number = env.get('TWILIO_OUTGOING_NUMBER')
url = 'http://%s%s' % (settings.WWW_HTTP_HOST,
url = '%s://%s%s' % (settings.WWW_SCHEME, settings.WWW_HTTP_HOST,
reverse('twiml-callback', kwargs={'service_id': service.id}))

# No need to call to say things are resolved
Expand Down

0 comments on commit 55d4957

Please sign in to comment.