Files
MyFit-CoreBackEnd/services/web/project/config.py
T
CHIEFSOFT\ameye 108378a31e first commit
2025-05-03 22:16:10 -04:00

12 lines
327 B
Python

import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
SQLALCHEMY_DATABASE_URI = os.getenv("DATABASE_URL", "sqlite://")
SQLALCHEMY_TRACK_MODIFICATIONS = False
STATIC_FOLDER = f"{os.getenv('APP_FOLDER')}/project/static"
MEDIA_FOLDER = f"{os.getenv('APP_FOLDER')}/project/media"