diff --git a/config/settings/common.py b/config/settings/common.py index ee47327a..e9ed33f9 100644 --- a/config/settings/common.py +++ b/config/settings/common.py @@ -374,7 +374,7 @@ # in OSM website OAUTH_REDIRECT_URI = env( 'OAUTH_REDIRECT_URI', - default='http://127.0.0.1:3000/oauth-landing.html' + default='http://127.0.0.1:3000/authorized' ) OSMCHA_URL = env('OSMCHA_URL', default='https://osmcha.org') diff --git a/config/settings/production.py b/config/settings/production.py index 3c27d632..5bb34575 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -99,13 +99,6 @@ # Your production stuff: Below this line define 3rd party library settings -CELERYBEAT_SCHEDULE = { - 'schedule-name': { - 'task': 'osmchadjango.changeset.tasks.fetch_latest', - 'schedule': 60 #Run every 60 seconds - }, -} - REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework.authentication.TokenAuthentication', @@ -123,7 +116,7 @@ 'DEFAULT_THROTTLE_RATES': { 'anon': env('ANON_USER_THROTTLE_RATE', default='30/min'), 'user': env('COMMON_USER_THROTTLE_RATE', default='180/min'), - 'non_staff_user': env('NON_STAFF_USER_THROTTLE_RATE', default='3/min') + 'non_staff_user': env('NON_STAFF_USER_THROTTLE_RATE', default='5/min') }, 'ORDERING_PARAM': 'order_by', }