Show port
This commit is contained in:
parent
5ab79692d1
commit
31c37eded7
2
index.js
2
index.js
|
@ -90,5 +90,5 @@ app.post('/shorten', (req, res) => { // Shorten URL
|
||||||
port = process.env.SERVER_PORT || 3000;
|
port = process.env.SERVER_PORT || 3000;
|
||||||
|
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
console.log('Server is running on port 3000');
|
console.log(`Server is running on port ${port}`);
|
||||||
});
|
});
|
Loading…
Reference in a new issue