URI fixes
This commit is contained in:
parent
585f944390
commit
c71863b7bf
2 changed files with 2 additions and 2 deletions
|
|
@ -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 + "/"
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue