9 lines
374 B
Python
9 lines
374 B
Python
import os
|
|
|
|
DATABASE_URL = os.getenv("DATABASE_URL", "sqlite:///./jardin.db")
|
|
UPLOAD_DIR = os.getenv("UPLOAD_DIR", "./data/uploads")
|
|
CORS_ORIGINS = os.getenv("CORS_ORIGINS", "http://localhost:5173").split(",")
|
|
STATION_URL = os.getenv("STATION_URL", "http://10.0.0.8:8081/")
|
|
METEO_LAT = float(os.getenv("METEO_LAT", "45.14"))
|
|
METEO_LON = float(os.getenv("METEO_LON", "4.12"))
|