fix bugs for launch: postgresql url for sqlalchemy; auto loading env
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
from fastapi import Request, HTTPException
|
||||
import app.auth.jwt as jwt
|
||||
import os
|
||||
from . import jwt
|
||||
|
||||
JWT_SECRET = os.getenv("JWT_SECRET")
|
||||
JWT_ALGORITHM = os.getenv("JWT_ALGORITHM", "HS256")
|
||||
|
||||
Reference in New Issue
Block a user