Spaces:
Running
Running
File size: 324 Bytes
75e2b6c 8960cf1 75e2b6c |
1 2 3 4 5 6 7 8 9 10 11 |
import os
from dotenv import load_dotenv
load_dotenv()
class Config:
JWT_SECRET_KEY = os.getenv('JWT_SECRET_KEY')
JWT_ACCESS_TOKEN_EXPIRES = int(os.getenv('JWT_ACCESS_TOKEN_EXPIRES'))
CORS_ORIGINS = ["http://localhost:3000"]
UPLOAD_FOLDER = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'temp') |