Skip to content

Commit

Permalink
change port for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritik committed Jul 2, 2020
1 parent 53eca06 commit db82d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const server=http.createServer(app)
const io=socketio(server)

// this is used in herouk to provide the port by heroku
// const port=process.env.PORT || 3000;
const port=3000;
const port=process.env.PORT || 3000;
// const port=3000;
const publicdirectorypath=path.join(__dirname,'../public')


Expand Down

0 comments on commit db82d37

Please sign in to comment.