Update .env with production URLs for deployment
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
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:
10
.env
10
.env
@@ -17,20 +17,20 @@ JWT_REFRESH_EXPIRY=7d
|
||||
|
||||
# Steam OpenID - GET YOUR API KEY FROM: https://steamcommunity.com/dev/apikey
|
||||
STEAM_API_KEY=14C1687449C5C4CB79953094DB8E6CC0
|
||||
STEAM_REALM=http://localhost:3000
|
||||
STEAM_RETURN_URL=http://localhost:3000/auth/steam/return
|
||||
STEAM_REALM=https://api.turbotrades.dev
|
||||
STEAM_RETURN_URL=https://api.turbotrades.dev/auth/steam/return
|
||||
|
||||
|
||||
#Steam apis key - Loading the inventory
|
||||
STEAM_APIS_KEY=DONTABUSEORPEPZWILLNAGASAKI
|
||||
|
||||
# Cookie Settings
|
||||
COOKIE_DOMAIN=localhost
|
||||
COOKIE_SECURE=false
|
||||
COOKIE_DOMAIN=.turbotrades.dev
|
||||
COOKIE_SECURE=true
|
||||
COOKIE_SAME_SITE=lax
|
||||
|
||||
# CORS
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
CORS_ORIGIN=https://turbotrades.dev
|
||||
|
||||
|
||||
# Rate Limiting
|
||||
|
||||
Reference in New Issue
Block a user