Files
whattoplay/features/keycrow/src/config/index.ts
2026-03-10 17:03:13 +01:00

17 lines
486 B
TypeScript

export const config = {
port: process.env.PORT ? parseInt(process.env.PORT) : 3000,
encryption: {
key: process.env.ENCRYPTION_KEY || 'default-dev-key-change-in-prod',
},
steam: {
apiKey: process.env.STEAM_API_KEY || '',
redirectUri: process.env.STEAM_REDIRECT_URI || 'http://localhost:3000/auth/steam/callback',
},
escrow: {
holdDurationDays: 7,
},
features: {
allowTheoreticalActivation: process.env.ALLOW_THEORETICAL_ACTIVATION === 'true',
},
};