Ensure secure session cookies are only sent over HTTPS connections

Update session cookie configuration to conditionally set the 'secure' flag based on the application's URL protocol (HTTPS). This change ensures that session cookies are only transmitted over secure HTTPS connections in production environments, enhancing security.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/Tstc8oV
This commit is contained in:
michaelschal committed 2025-10-02 07:13:13 +00:00
1 parent d9d497f3a9
commit df8d3d4190
4 files changed
+75 -5

No files matched your search

-4
View File
@@ -18,10 +18,6 @@ externalPort = 80
localPort = 5555
externalPort = 3002
[[ports]]
localPort = 32915
externalPort = 3003
[[ports]]
localPort = 40537
externalPort = 3000