Skip to content

Commit fed6124

Browse files
committed
port
1 parent c29f4c0 commit fed6124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ if (process.env.NODE_ENV === 'production') {
1111
app.use(enforce.HTTPS({ trustProtoHeader: true }))
1212
}
1313

14-
http.createServer(app).listen(app.get('port') || 3000, function() {
14+
http.createServer(app).listen(process.env.PORT || 3000, function() {
1515
console.log('started');
1616
});

0 commit comments

Comments
 (0)