Merge remote-tracking branch 'origin/main' into hub1-barre-v030
# Conflicts: # app/config.py
This commit is contained in:
+2
-1
@@ -181,7 +181,8 @@ from urllib.parse import urlparse
|
||||
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
APP_VERSION = "0.45.9"
|
||||
_version_file = next((Path(p) for p in ("/VERSION", BASE_DIR / "VERSION") if Path(p).exists()), None)
|
||||
APP_VERSION = _version_file.read_text().strip() if _version_file else "inconnue"
|
||||
|
||||
|
||||
def _env_bool(name: str, default: bool) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user