fix(authorization-service): 修复端口配置默认值为 3009
This commit is contained in:
parent
24c7be6a8d
commit
99589f666a
|
|
@ -47,7 +47,7 @@ async function bootstrap() {
|
||||||
const document = SwaggerModule.createDocument(app, config)
|
const document = SwaggerModule.createDocument(app, config)
|
||||||
SwaggerModule.setup('api/docs', app, document)
|
SwaggerModule.setup('api/docs', app, document)
|
||||||
|
|
||||||
const port = process.env.APP_PORT || 3002
|
const port = parseInt(process.env.APP_PORT || '3009', 10)
|
||||||
await app.listen(port)
|
await app.listen(port)
|
||||||
|
|
||||||
logger.log(`Authorization Service is running on port ${port}`)
|
logger.log(`Authorization Service is running on port ${port}`)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue