fix bugs for launch: postgresql url for sqlalchemy; auto loading env

This commit is contained in:
2026-05-19 01:39:57 +08:00
parent a83befe109
commit 86b030930c
7 changed files with 71 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import app.auth.jwt as jwt
from datetime import datetime, timedelta, timezone
import os
import jwt
from fastapi import HTTPException, status
JWT_SECRET = os.getenv("JWT_SECRET")