fix: conversation-service use PORT env variable instead of CONVERSATION_SERVICE_PORT
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c9b5c4d2d7
commit
5c44a1a1a1
|
|
@ -25,7 +25,7 @@ async function bootstrap() {
|
||||||
app.setGlobalPrefix('api/v1');
|
app.setGlobalPrefix('api/v1');
|
||||||
|
|
||||||
const configService = app.get(ConfigService);
|
const configService = app.get(ConfigService);
|
||||||
const port = configService.get<number>('CONVERSATION_SERVICE_PORT') || 3002;
|
const port = configService.get<number>('PORT') || 3004;
|
||||||
|
|
||||||
await app.listen(port);
|
await app.listen(port);
|
||||||
console.log(`Conversation Service is running on port ${port}`);
|
console.log(`Conversation Service is running on port ${port}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue