feat: Add environment configuration files and update settings for production and development
This commit is contained in:
@@ -40,7 +40,7 @@ def set_access_token_cookie(
|
||||
httponly=True,
|
||||
secure=settings.COOKIE_SECURE,
|
||||
samesite=settings.COOKIE_SAMESITE,
|
||||
domain="localhost", # Allow cookie across localhost ports
|
||||
domain=settings.COOKIE_DOMAIN,
|
||||
path=path,
|
||||
)
|
||||
|
||||
@@ -58,7 +58,7 @@ def set_refresh_token_cookie(
|
||||
httponly=True,
|
||||
secure=settings.COOKIE_SECURE,
|
||||
samesite=settings.COOKIE_SAMESITE,
|
||||
domain="localhost", # Allow cookie across localhost ports
|
||||
domain=settings.COOKIE_DOMAIN,
|
||||
path=path,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user