Created
June 27, 2013 02:34
-
-
Save lcomino/5873532 to your computer and use it in GitHub Desktop.
Dicas e detalhes sobre Heroku e NodeJs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trabalhando com nodejs no Heroku. | |
Problemas com a porta do http: ao invés de listen(5000) fazer assim listen(process.env.PORT || 5000) pois ele irá rodar localmente na porta 5000 e no Heroku ele atribui dinamicamente um porta para seu app no env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment