Three isolated services (alert scraper, apply HTTP worker, web UI+DB) with argon2 auth, signed cookies, CSRF, rate-limited login, kill switch, apply circuit breaker, audit log, and strict CSP. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 lines
No EOL
158 B
Python
7 lines
No EOL
158 B
Python
import os
|
|
|
|
DATA_DIR = "data"
|
|
ALREADY_NOTIFIED_FILE = "data/already_notified.txt"
|
|
|
|
# create dirs if they do not exist yet.
|
|
os.makedirs(DATA_DIR, exist_ok=True) |