chat-example
chat-example copied to clipboard
Make compatible with Heroku
We get several tickets from users who have trouble deploying these socket.io demos because of small pieces (no npm start, hardcoded port, etc). This makes it easier to get up and running:
- made
npm start
work - using port 3000 as default if no
PORT
var is specified - added app.json file for deploy button
- added deploy button to bottom of readme