This commit is contained in:
2025-04-22 21:08:24 +09:00
parent ebea019794
commit 681db7047c
6 changed files with 64 additions and 1 deletions

View File

@ -13,6 +13,22 @@ https://docs.djangoproject.com/en/4.2/ref/settings/
import os
from dotenv import load_dotenv
from pathlib import Path
import sys
LOGGING = {
'version': 1,
'disable_existing_loggers': False, # 기존 로거 사용 허용
'handlers': {
'console': {
'class': 'logging.StreamHandler',
'stream': sys.stdout, # ✅ stdout으로 출력되도록 지정
},
},
'root': {
'handlers': ['console'],
'level': 'DEBUG', # DEBUG 레벨로 모두 출력
},
}
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@ -78,8 +94,12 @@ CORS_ALLOWED_ORIGINS = [
"http://192.168.0.100:3000",
"https://demo.test",
"http://demo.test",
"https://www.demo.test",
"https://sample.test",
"http://sample.test",
"http://www.sample.test",
"http://auth.sample.test",
"http://blog.sample.test",
]
# by.sdjo 2025-04-22