Skip to content

Commit

Permalink
add my service worker for demo and fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharat Sinha authored and Bharat Sinha committed Apr 20, 2018
1 parent 0863d5f commit b2f3176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ npm install

```
nodemon index.js
npm start
```
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ app.use(express.static(__dirname + '/node_modules'));
app.use('/api', API);


const port = config.SERVER.PORT;
const port = process.env.PORT || config.SERVER.PORT;
app.listen(port, () => console.log(`App is running on port: ${ port }`));

0 comments on commit b2f3176

Please sign in to comment.