Skip to content

Commit 719662a

Browse files
committed
Update app.js
1 parent 3bc4601 commit 719662a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,7 @@ process.on('unhandledRejection', (reason, promise) => {
162162
if (typeof(PhusionPassenger) !== 'undefined') {
163163
PhusionPassenger.configure({ autoInstall: false });
164164

165-
const port = process.env.PORT || 80;
166-
app.listen(port, '0.0.0.0', () => {
167-
console.log(`VATSIM PMP running in Passenger mode on port ${port}`);
168-
});
169-
} else if (require.main === module) {
165+
if (require.main === module) {
170166
const port = process.env.PORT || 80;
171167
app.listen(port, () => {
172168
console.log(`VATSIM PMP running in standalone mode on port ${port}`);

0 commit comments

Comments
 (0)