NestJs: How use config in the top of file

前端 未结 0 1164
我寻月下人不归
我寻月下人不归 2020-12-19 20:54

i have one socket gateway want set port WS_INBOX_PORT from my .env file i am using @nestjs/config library

@WebSocketGateway(WS_INBOX_PORT)
export         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题