Skip to content

Commit

Permalink
webapp: add default value to PCAP_FILE
Browse files Browse the repository at this point in the history
  • Loading branch information
aiooss-anssi committed May 17, 2024
1 parent 692f93f commit 585aa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 585aa8d

Please sign in to comment.