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")