generated from Grigo/AndroidTemplate
12 lines
438 B
Python
12 lines
438 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
|
DATABASE_PATH = os.environ.get(
|
|
"LORATESTER_DB", str(BASE_DIR / "loratester.db")
|
|
)
|
|
HOST = os.environ.get("LORATESTER_HOST", "0.0.0.0")
|
|
PORT = int(os.environ.get("LORATESTER_PORT", "7634"))
|
|
TELEMETRY_LIMIT = int(os.environ.get("LORATESTER_TELEMETRY_LIMIT", "5000"))
|
|
TRACK_POINTS_LIMIT = int(os.environ.get("LORATESTER_TRACK_POINTS_LIMIT", "10000"))
|