Turn off debug flag

This commit is contained in:
Keannu Bernasol 2024-01-07 02:43:15 +08:00
parent 2e9918f12a
commit ea7af73c65
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ services:
dockerfile: Dockerfile
image: csm_equipment_tracker:latest
ports:
- "8000:8000"
- "8092:8000"
environment:
- PYTHONBUFFERED=1
command:

View file

@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = str(os.getenv('SECRET_KEY'))
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '*']
CSRF_TRUSTED_ORIGINS = [