change default port
This commit is contained in:
parent
4df0d17183
commit
7d4ec0e523
2
app.js
2
app.js
@ -118,7 +118,7 @@ app.get('/blog/:slug', (req, res) => {
|
|||||||
// Server Listening
|
// Server Listening
|
||||||
// ================================
|
// ================================
|
||||||
|
|
||||||
const PORT = process.env.PORT || 3000;
|
const PORT = process.env.PORT || 8899;
|
||||||
app.listen(PORT, () => {
|
app.listen(PORT, () => {
|
||||||
console.log(`Server running on http://localhost:${PORT}`);
|
console.log(`Server running on http://localhost:${PORT}`);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user