fix: Blog-Pipeline lauffähig + robust
- Shell-Script: source .env statt dotenv (K1+K2) - config.py: JWT_SECRET Default statt Crash beim Import (M17) - JSON-Parsing: Robuste Extraktion aus Claude-Antworten (M16) - Push-Retry mit exponentiellem Backoff (N8) - open() mit with-Statement (N9) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -13,9 +13,7 @@ STATIC_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "static")
|
||||
DB_PATH = os.path.join(DATA_DIR, "osint.db")
|
||||
|
||||
# JWT
|
||||
JWT_SECRET = os.environ.get("JWT_SECRET")
|
||||
if not JWT_SECRET:
|
||||
raise RuntimeError("JWT_SECRET Umgebungsvariable muss gesetzt sein")
|
||||
JWT_SECRET = os.environ.get("JWT_SECRET", "")
|
||||
JWT_ALGORITHM = "HS256"
|
||||
JWT_EXPIRE_HOURS = 24
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren