Skip to content

Instantly share code, notes, and snippets.

@anchetaWern
Created July 12, 2019 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anchetaWern/ea40f966e1aede26a8bd501ba1a89483 to your computer and use it in GitHub Desktop.
Save anchetaWern/ea40f966e1aede26a8bd501ba1a89483 to your computer and use it in GitHub Desktop.
Pokedex bot: Expose the server
const PORT = 5000;
app.listen(PORT, (err) => {
if (err) {
console.error(err);
} else {
console.log(`Running on ports ${PORT}`);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment