Skip to content

Commit

Permalink
feat: use auth.cn as initial start
Browse files Browse the repository at this point in the history
Auth.cn should automatically redirect non-Chinese accounts
  • Loading branch information
alandtse committed Mar 29, 2021
1 parent 601a237 commit 6b2ca52
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 63 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ aiohttp = "*"
backoff = "*"
beautifulsoup4 = "*"
wrapt = "*"
authcaptureproxy = "~=0.7.0"
authcaptureproxy = "~=0.7.1"

[pipenv]
allow_prereleases = true
120 changes: 59 additions & 61 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion teslajsonpy/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
DRIVING_INTERVAL = 60 # interval when driving detected
WEBSOCKET_TIMEOUT = 11 # time for websocket to timeout
RELEASE_NOTES_URL = "https://teslascope.com/teslapedia/software/"
AUTH_DOMAIN = "https://auth.tesla.com"
AUTH_DOMAIN = "https://auth.tesla.cn"
API_URL = "https://owner-api.teslamotors.com"
WS_URL = "wss://streaming.vn.teslamotors.com/streaming"

0 comments on commit 6b2ca52

Please sign in to comment.