From 585aa8d0501a843e592603462d174cf4f3aaf127 Mon Sep 17 00:00:00 2001 From: aiooss-anssi Date: Fri, 17 May 2024 10:53:52 +0200 Subject: [PATCH] webapp: add default value to PCAP_FILE --- webapp/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/main.py b/webapp/main.py index fe9043b..6668409 100644 --- a/webapp/main.py +++ b/webapp/main.py @@ -311,7 +311,7 @@ async def lifespan(app): PAYLOAD_DB_URI = config( "PAYLOAD_DB_URI", cast=str, default="file:../suricata/output/payload.db?mode=ro" ) -PCAP_FILE = config("PCAP_FILE", cast=bool) +PCAP_FILE = config("PCAP_FILE", cast=bool, default=True) CTF_CONFIG = { "start_date": config("CTF_START_DATE", cast=str), "tick_length": config("CTF_TICK_LENGTH", cast=int),