11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
import { registerAs } from '@nestjs/config';
|
|
|
|
export default registerAs('external', () => ({
|
|
walletServiceUrl:
|
|
process.env.WALLET_SERVICE_URL || 'http://localhost:3002',
|
|
identityServiceUrl:
|
|
process.env.IDENTITY_SERVICE_URL || 'http://localhost:3001',
|
|
referralServiceUrl:
|
|
process.env.REFERRAL_SERVICE_URL || 'http://localhost:3004',
|
|
}));
|