add ssl to crsf trusted origins

This commit is contained in:
prance 2022-01-29 19:43:14 +01:00
parent 1a1588ee79
commit 8befe60e46

View File

@ -50,7 +50,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
CSRF_TRUSTED_ORIGINS = ["http://randomsec.projektstudencki.pl"]
CSRF_TRUSTED_ORIGINS = ["https://randomsec.projektstudencki.pl"]
ROOT_URLCONF = 'MUOR.urls'