Skip to content

Commit

Permalink
Merge pull request #187 from fronzbot/upgrade-login
Browse files Browse the repository at this point in the history
Upgraded login urls to use rest-region subdomain
  • Loading branch information
fronzbot authored Jun 18, 2019
2 parents 414b647 + bb76f09 commit 7367eb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blinkpy/helpers/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
URLS
'''
BLINK_URL = 'immedia-semi.com'
DEFAULT_URL = "{}.{}".format('prod', BLINK_URL)
DEFAULT_URL = "{}.{}".format('rest-prod', BLINK_URL)
BASE_URL = "https://{}".format(DEFAULT_URL)
LOGIN_URL = "{}/api/v2/login".format(BASE_URL)
OLD_LOGIN_URL = "{}/login".format(BASE_URL)
LOGIN_BACKUP_URL = "https://{}.{}/login".format('rest.piri', BLINK_URL)
LOGIN_BACKUP_URL = "https://{}.{}/login".format('rest-piri', BLINK_URL)

'''
Dictionaries
Expand Down

0 comments on commit 7367eb6

Please sign in to comment.