derm-ai / app /config /config.py
muhammadnoman76's picture
update
8960cf1
raw
history blame contribute delete
324 Bytes
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')