Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 5c78598

Browse files
author
Stijn Van Campenhout
committed
fix: auth url. See #25
1 parent 50fef89 commit 5c78598

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rmapy/const.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
RFC3339Nano = "%Y-%m-%dT%H:%M:%SZ"
22
USER_AGENT = "rmapy"
3+
AUTH_BASE_URL = "https://webapp-production-dot-remarkable-production.appspot.com"
34
BASE_URL = "https://document-storage-production-dot-remarkable-production.appspot.com" # noqa
4-
DEVICE_TOKEN_URL = "https://my.remarkable.com/token/json/2/device/new"
5-
USER_TOKEN_URL = "https://my.remarkable.com/token/json/2/user/new"
5+
DEVICE_TOKEN_URL = AUTH_BASE_URL + "/token/json/2/device/new"
6+
USER_TOKEN_URL = AUTH_BASE_URL + "/token/json/2/user/new"
67
DEVICE = "desktop-windows"
78
SERVICE_MGR_URL = "https://service-manager-production-dot-remarkable-production.appspot.com" # noqa

0 commit comments

Comments
 (0)