Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lainercoder committed Dec 19, 2019
1 parent 01b2a42 commit 41668cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ server.post('/img', (req, res) => {
.catch(err => res.status(500).send(err));
});

const startMessage = process.env.ENVIRONMENT === "production" ?
const startMessage = process.env.ENVIRONMENT === 'production' ?
`Server started on Port ${port}! ${root}/products/1` :
`Server started! ${root}:${port}/products/1`
`Server started! ${root}:${port}/products/1`;
server.listen(port, () =>
console.log(startMessage)
);

0 comments on commit 41668cc

Please sign in to comment.