diff --git a/app/settings.py b/app/settings.py index b9aa16b..19c946a 100644 --- a/app/settings.py +++ b/app/settings.py @@ -131,8 +131,7 @@ REST_FRAMEWORK = { 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',), } -if DEBUG is True: - CORS_ALLOW_ALL_ORIGINS = True +CORS_ALLOW_ALL_ORIGINS = True DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'