Something went wrong. Try again.
a fork of EvalEx by ezylang with a handful of breaking changes
Something went wrong. Try again.
12345678910111213141516171819202122import osfrom pathlib import Path
DEV = bool(os.environ.get("DEV")) or False
DATA_DIR = Path(os.environ.get("DATA_DIR") or "./data")SETTINGS_DIR = Path( os.environ.get("SETTINGS_DIR") or DATA_DIR.joinpath("settings.json"))DATABASE_DIR = Path(os.environ.get("DATABASE_DIR") or DATA_DIR.joinpath("data.db"))
MIGRATIONS_DIR = Path(os.environ.get("MIGRATIONS_DIR") or "./migrations")
SLINGSHOT_URL = os.environ.get("SLINGSHOT_URL") or "https://slingshot.microcosm.blue"JETSTREAM_URL = ( os.environ.get("JETSTREAM_URL") or "wss://jetstream2.us-west.bsky.network/subscribe")
FFMPEG_PATH = os.environ.get("FFMPEG_PATH") or "ffmpeg"FFPROBE_PATH = os.environ.get("FFPROBE_PATH") or "ffprobe"