mirror of
https://github.com/jaypyles/Scraperr.git
synced 2026-05-04 00:10:44 +00:00
6c56f2f161
* chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: refactor wip * chore: work in progress * chore: refactor wip * chore: refactor wip * chore: refactor wip * fix: build * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests
25 lines
654 B
Python
25 lines
654 B
Python
# STL
|
|
import os
|
|
from pathlib import Path
|
|
|
|
DATABASE_PATH = "data/database.db"
|
|
RECORDINGS_DIR = Path("media/recordings")
|
|
RECORDINGS_ENABLED = os.getenv("RECORDINGS_ENABLED", "true").lower() == "true"
|
|
MEDIA_DIR = Path("media")
|
|
MEDIA_TYPES = [
|
|
"audio",
|
|
"documents",
|
|
"images",
|
|
"pdfs",
|
|
"presentations",
|
|
"spreadsheets",
|
|
"videos",
|
|
]
|
|
|
|
REGISTRATION_ENABLED = os.getenv("REGISTRATION_ENABLED", "true").lower() == "true"
|
|
DEFAULT_USER_EMAIL = os.getenv("DEFAULT_USER_EMAIL")
|
|
DEFAULT_USER_PASSWORD = os.getenv("DEFAULT_USER_PASSWORD")
|
|
DEFAULT_USER_FULL_NAME = os.getenv("DEFAULT_USER_FULL_NAME")
|
|
|
|
LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")
|