CSRF TRUSTED ORIGIN updated

This commit is contained in:
CPABONG 2025-08-03 15:47:35 +09:00
parent 0e20aa194c
commit 6ca64d533d
14 changed files with 10 additions and 2 deletions

View File

@ -23,10 +23,18 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-kst@+h&50%!m$(d!l*qbb0l7f@z#@#me__yye^$5kg%0m%1=im' SECRET_KEY = 'django-insecure-kst@+h&50%!m$(d!l*qbb0l7f@z#@#me__yye^$5kg%0m%1=im'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = ['www.sillaamp.com', 'sillaamp.com', '192.168.1.119', 'localhost', '127.0.0.1', '*'] ALLOWED_HOSTS = ['www.sillaamp.com', 'sillaamp.com', '192.168.1.119', 'localhost', '127.0.0.1', '*']
CSRF_TRUSTED_ORIGINS = [
'http://www.sillaamp.com',
'https://www.sillaamp.com',
'http://sillaamp.com',
'https://sillaamp.com',
'http://192.168.1.119:4271',
'http://127.0.0.1:8000',
'http://localhost:8000',
]
# Application definition # Application definition

Binary file not shown.