Update src/main.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3e5d2474ff
commit
da7ab628a3
1 changed files with 1 additions and 2 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue