17 lines
486 B
TypeScript
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',
|
|
},
|
|
};
|