Update .env with production URLs for deployment
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s

- Set CORS_ORIGIN to frontend domain
- Set STEAM_REALM and STEAM_RETURN_URL to API domain
- Configure production cookie settings
This commit is contained in:
2026-01-11 01:51:12 +00:00
parent 6c489092ed
commit 1189d49905

10
.env
View File

@@ -17,20 +17,20 @@ JWT_REFRESH_EXPIRY=7d
# Steam OpenID - GET YOUR API KEY FROM: https://steamcommunity.com/dev/apikey # Steam OpenID - GET YOUR API KEY FROM: https://steamcommunity.com/dev/apikey
STEAM_API_KEY=14C1687449C5C4CB79953094DB8E6CC0 STEAM_API_KEY=14C1687449C5C4CB79953094DB8E6CC0
STEAM_REALM=http://localhost:3000 STEAM_REALM=https://api.turbotrades.dev
STEAM_RETURN_URL=http://localhost:3000/auth/steam/return STEAM_RETURN_URL=https://api.turbotrades.dev/auth/steam/return
#Steam apis key - Loading the inventory #Steam apis key - Loading the inventory
STEAM_APIS_KEY=DONTABUSEORPEPZWILLNAGASAKI STEAM_APIS_KEY=DONTABUSEORPEPZWILLNAGASAKI
# Cookie Settings # Cookie Settings
COOKIE_DOMAIN=localhost COOKIE_DOMAIN=.turbotrades.dev
COOKIE_SECURE=false COOKIE_SECURE=true
COOKIE_SAME_SITE=lax COOKIE_SAME_SITE=lax
# CORS # CORS
CORS_ORIGIN=http://localhost:5173 CORS_ORIGIN=https://turbotrades.dev
# Rate Limiting # Rate Limiting