X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..3b0d1718ec6c9dddcee4a4620384a83e30ff6f2f:/apps/apiclient/settings.py?ds=inline diff --git a/apps/apiclient/settings.py b/apps/apiclient/settings.py index 5fbf18ee..51b49069 100755 --- a/apps/apiclient/settings.py +++ b/apps/apiclient/settings.py @@ -4,8 +4,9 @@ from django.conf import settings WL_CONSUMER_KEY = getattr(settings, 'APICLIENT_WL_CONSUMER_KEY', None) WL_CONSUMER_SECRET = getattr(settings, 'APICLIENT_WL_CONSUMER_SECRET', None) -WL_API_URL = getattr(settings, 'APICLIENT_WL_API_URL', - 'http://www.wolnelektury.pl/api/') +WL_API_URL = getattr(settings, 'APICLIENT_WL_API_URL', 'https://wolnelektury.pl/api/') + +BETA_API_URL = getattr(settings, 'APICLIENT_BETA_API_URL', 'http://dev.wolnelektury.pl/api/') WL_REQUEST_TOKEN_URL = getattr(settings, 'APICLIENT_WL_REQUEST_TOKEN_URL', WL_API_URL + 'oauth/request_token/') @@ -13,3 +14,7 @@ WL_ACCESS_TOKEN_URL = getattr(settings, 'APICLIENT_WL_ACCESS_TOKEN_URL', WL_API_URL + 'oauth/access_token/') WL_AUTHORIZE_URL = getattr(settings, 'APICLIENT_WL_AUTHORIZE_URL', WL_API_URL + 'oauth/authorize/') + +BETA_REQUEST_TOKEN_URL = BETA_API_URL + 'oauth/request_token/' +BETA_ACCESS_TOKEN_URL = BETA_API_URL + 'oauth/access_token/' +BETA_AUTHORIZE_URL = BETA_API_URL + 'oauth/authorize/'