diff --git a/rmapy/const.py b/rmapy/const.py index 21ee01c..edfe403 100644 --- a/rmapy/const.py +++ b/rmapy/const.py @@ -1,7 +1,8 @@ RFC3339Nano = "%Y-%m-%dT%H:%M:%SZ" USER_AGENT = "rmapy" +AUTH_BASE_URL = "https://webapp-production-dot-remarkable-production.appspot.com" BASE_URL = "https://document-storage-production-dot-remarkable-production.appspot.com" # noqa -DEVICE_TOKEN_URL = "https://my.remarkable.com/token/json/2/device/new" -USER_TOKEN_URL = "https://my.remarkable.com/token/json/2/user/new" +DEVICE_TOKEN_URL = AUTH_BASE_URL + "/token/json/2/device/new" +USER_TOKEN_URL = AUTH_BASE_URL + "/token/json/2/user/new" DEVICE = "desktop-windows" SERVICE_MGR_URL = "https://service-manager-production-dot-remarkable-production.appspot.com" # noqa