From e2cef971a0188f653d4d391836eb21cd8a268845 Mon Sep 17 00:00:00 2001 From: timka Date: Wed, 22 Nov 2023 16:53:41 +0300 Subject: [PATCH] ready to prroduction --- link_backend/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/link_backend/settings.py b/link_backend/settings.py index bfacda4..fff20d3 100644 --- a/link_backend/settings.py +++ b/link_backend/settings.py @@ -23,8 +23,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-q-42b%h)7^!d5_up!&3yn#!2b(5juzl=^)nd6&j&5zdw3fcml&' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True - +DEBUG = False +CSRF_TRUSTED_ORIGINS = ["https://link.timka.su"] ALLOWED_HOSTS = ['*']