mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
Updated project with latest changes
This commit is contained in:
@@ -18,7 +18,7 @@ client = MongoClient(mongo_uri)
|
||||
db = client.openlearnx
|
||||
|
||||
# JWT secret - must be set via environment variable
|
||||
JWT_SECRET = os.getenv('JWT_SECRET')
|
||||
JWT_SECRET = os.getenv('JWT_SECRET_KEY') or os.getenv('JWT_SECRET')
|
||||
if not JWT_SECRET:
|
||||
import warnings
|
||||
import tempfile
|
||||
|
||||
Reference in New Issue
Block a user