From 000841b20e23ee2ada6e9c0eb595960a5f0f7f0c Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 12 Jan 2024 02:16:12 +0300 Subject: [PATCH] 0.4.53 fix 403 --- pAerBim/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pAerBim/settings.py b/pAerBim/settings.py index f30e46f..3a5ae6f 100644 --- a/pAerBim/settings.py +++ b/pAerBim/settings.py @@ -28,6 +28,9 @@ DEBUG = True ALLOWED_HOSTS = ['*'] +CSRF_TRUSTED_ORIGINS = ['https://aerbim.com/'] +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') + # Application definition INSTALLED_APPS = [