From 9fb335767092b6c8030c4b73dd2cdd74e13c4870 Mon Sep 17 00:00:00 2001 From: Xuan Loi Date: Mon, 19 Jan 2026 00:52:03 +0700 Subject: [PATCH] changes --- api/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/settings.py b/api/settings.py index 3be27995..050da398 100644 --- a/api/settings.py +++ b/api/settings.py @@ -21,7 +21,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-_u202k$8qq2p*cr_eo(7k!0ngr5^n)27@85+5oy8&41(u6&j54' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ['*'] @@ -81,7 +81,7 @@ ASGI_APPLICATION = 'api.asgi.application' # https://docs.djangoproject.com/en/4.1/ref/settings/#databases #prod:5.223.52.193 dev:5.223.42.146 -MODE = 'dev' +MODE = 'prod' DBHOST = '172.17.0.1' if MODE == 'prod' else '5.223.42.146' DATABASES = {