0.45.9 — barre v0.3.0 : liens Hub du menu compte ; Profil quitte /profile pour le Hub (HUB-1) #81

Merged
bruno merged 4 commits from hub1-barre-v030 into main 2026-11-04 19:52:49 -05:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit c035c39833 - Show all commits
+1
View File
@@ -10,6 +10,7 @@ ENV PYTHONUNBUFFERED=1 \
# first, copy app/ afterwards) the installed distribution was empty and
# the app only worked by accident of the working directory.
COPY pyproject.toml ./
COPY VERSION ./VERSION
COPY app/ ./app/
COPY static/ ./static/
RUN pip install --no-cache-dir .
+2 -1
View File
@@ -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: