From 266d2476f84ee66d5ff16994e4bff1c9bc7d0f0f Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 3 Aug 2024 00:27:36 -0400 Subject: [PATCH] renamed an env var --- docker-compose.yml | 2 +- src/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f2b4b28..8d185dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,6 @@ services: - FORGEJO_REPO=GalacticFactory - FORGEJO_TASK_NAME=Build and Upload Export Files - FORGEJO_ARTIFACT_NAMES=PrismLauncher,ATLauncher,Modrinth - - FORGEJO_DEBUG=false + - DEBUG=false ports: - "8041:80" diff --git a/src/main.py b/src/main.py index ca76dca..b7c0759 100644 --- a/src/main.py +++ b/src/main.py @@ -28,7 +28,7 @@ config = { "task_name": os.environ.get('FORGEJO_TASK_NAME'), "page_size": os.environ.get('FORGEJO_PAGE_SIZE') or 10, "artifact_names": os.environ.get('FORGEJO_ARTIFACT_NAMES', '').split(','), - "debug": os.environ.get('FORGEJO_DEBUG') or False, + "debug": os.environ.get('DEBUG') or False, } config = Config(**config)