fix: auth register api fixed

This commit is contained in:
behruz-dev
2025-07-29 18:01:49 +05:00
parent a697c6a6a3
commit 6bc284f1ec
6 changed files with 32 additions and 47 deletions

View File

@@ -6,4 +6,5 @@ CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = settings.TIME_ZONE
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
if not env('DEBUG'):
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')