fix session cookie
Build & Push / Pipeline Tests (push) Successful in 1m56s
Test / Type Check (all packages) (push) Successful in 53s
Build & Push / Build & Push Docker Image (push) Successful in 5m35s
Test / API Unit Tests (push) Successful in 1m17s
Test / Homepage Unit Tests (push) Successful in 45s
Test / Carplace Unit Tests (push) Successful in 42s
Test / Admin Unit Tests (push) Successful in 46s
Test / Dashboard Unit Tests (push) Successful in 41s
Test / API Integration Tests (push) Successful in 1m7s

This commit is contained in:
root
2026-08-22 23:38:46 -04:00
parent d6f5f315e8
commit 79a55143b9
+4
View File
@@ -67,6 +67,10 @@ JWT_SECRET=eb9ab3eb5d6648bdb82cbef29afde498c58f089829a037dfea6cb5e98ef2aae0
JWT_EXPIRY=8h
RENTER_JWT_EXPIRY=7d
NODE_ENV=production
# Shared parent-domain cookie so sessions work across rentaldrivego.ma and
# api.rentaldrivego.ma (the admin/dashboard apps call the API cross-origin).
# Must start with a leading dot.
SESSION_COOKIE_DOMAIN=.rentaldrivego.ma
# ── Email ─────────────────────────────────────────────────────────────────────