mirror of
https://github.com/NotAShelf/catApi.git
synced 2024-11-22 23:50:41 +00:00
use port 3005 if no port is defined
This commit is contained in:
parent
9718546526
commit
53c8203f82
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -8,7 +8,7 @@ const port = process.env.PORT;
|
||||||
const customurl = process.env.CUSTOMURL;
|
const customurl = process.env.CUSTOMURL;
|
||||||
|
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
console.log('App listening at http://localhost:' + port);
|
console.log('App listening at http://localhost:' + port || 3005);
|
||||||
console.log('Godspeed, little fella!');
|
console.log('Godspeed, little fella!');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue