Skip to content

Commit

Permalink
Merge pull request #6 from lawandothman/develop
Browse files Browse the repository at this point in the history
add ReadMe and implement git flow fixes #5
  • Loading branch information
pedsm authored Dec 29, 2019
2 parents a3c7a37 + ce10c71 commit 3e39ab8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Law Pokedex

## Environments

- [Production](https://law-pokedex.herokuapp.com/)
- [Staging](https://law-pokedex-dev.herokuapp.com/)
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ async function getPokemon(id) {
return pokemon;
}

const listener = app.listen(process.env.PORT | 3000, function() {
const listener = app.listen(process.env.PORT || 3000, function() {
console.log("Your app is listening on port " + listener.address().port);
});

0 comments on commit 3e39ab8

Please sign in to comment.