mirror of
https://github.com/Sudo-JHare/SMARTFLARE-Smart-App-Gallery.git
synced 2025-07-29 18:25:35 +00:00
8 lines
325 B
Python
8 lines
325 B
Python
#config.py
|
|
import os
|
|
|
|
class Config:
|
|
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
|
|
SQLALCHEMY_DATABASE_URI = f'sqlite:///{os.path.join(BASE_DIR, "instance", "smart_app_gallery.db")}'
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
SECRET_KEY = 'your-secret-key' # Replace with a secure key in production |