refactor(domain-manager): simplify frontend URL configuration (#10194)

Replaced multiple environment variables for frontend URL construction
with a single FRONTEND_URL variable. This change reduces complexity and
improves clarity by consolidating frontend URL handling into one source.
Updated relevant validations and removed unused variables like
FRONT_PROTOCOL and FRONT_PORT.

Fix #10016
This commit is contained in:
Antoine Moreaux
2025-02-14 12:03:07 +01:00
committed by GitHub
parent 01665ca8ae
commit 171091e1ef
9 changed files with 29 additions and 83 deletions

View File

@ -5,9 +5,7 @@ REDIS_URL=redis://localhost:6379
APP_SECRET=replace_me_with_a_random_string
SIGN_IN_PREFILLED=true
FRONT_PROTOCOL=http
FRONT_DOMAIN=localhost
FRONT_PORT=3001
FRONTEND_URL=http://localhost:3001
# ———————— Optional ————————
# PORT=3000