herbsjs / herbs-cli

Herbs CLI
https://herbsjs.org/
MIT License
30 stars 30 forks source link

fix env port api #167

Closed tadvortx closed 1 year ago

tadvortx commented 1 year ago

Describe the bug

When I try to deploy the API GraphQL or Rest, We have a problem because the file api.js dosent have the process.env.PORT to get the correct port from the server

To reproduce

Try to deploy the project without docker to reproduce this error, the server will get timeout because the port that app listen is 3000