From c71863b7bf506974e0fee75df63dd762e2e95558 Mon Sep 17 00:00:00 2001 From: jableader Date: Wed, 5 Nov 2025 20:07:55 +1100 Subject: [PATCH] URI fixes --- api/households.py | 2 +- settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/households.py b/api/households.py index 14b74cf..005cc26 100644 --- a/api/households.py +++ b/api/households.py @@ -155,7 +155,7 @@ async def create_invitation( """, (household["id"], body.email, user.id, token, expires_at, "pending"), ) - base = settings.frontend_dev_url or "http://localhost:8080/" + base = settings.frontend_dev_url # Ensure base ends with a slash for urljoin if not base.endswith("/"): base = base + "/" diff --git a/settings.py b/settings.py index d0d342f..2f598ec 100644 --- a/settings.py +++ b/settings.py @@ -21,7 +21,7 @@ class Settings: prod: bool = os.environ.get("DOOF_PROD", "false").lower() in {"1", "true", "yes"} # Frontend dev server for reverse proxy in non-prod - frontend_dev_url: str = os.environ.get("FRONTEND_DEV_URL", "http://localhost:8080/") + frontend_dev_url: str = os.environ.get("FRONTEND_DEV_URL", "http://localhost:8000/") # JWT settings jwt_issuer: str = os.environ.get("DOOF_JWT_ISSUER", "doof-backend")