Update src/main.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Eric Hare 2025-12-12 08:29:26 -08:00 committed by GitHub
parent 3e5d2474ff
commit da7ab628a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,8 +265,7 @@ def generate_jwt_keys():
except Exception as e:
logger.warning(f"Failed to migrate JWT keys: {e}")
# Ensure keys directory exists (already done by get_keys_dir, but keeping for clarity)
keys_dir.mkdir(parents=True, exist_ok=True)
# Ensure keys directory exists (already done by get_keys_dir)
# Generate keys if they don't exist
if not private_key_path.exists():