Skip to content

Commit aac61b2

Browse files
committed
fix(grunt): run express:prod on production port
closes #1814 [skip ci]
1 parent 50e6d0c commit aac61b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: templates/app/Gruntfile(grunt).js

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ module.exports = function(grunt) {
4646
},
4747
prod: {
4848
options: {
49+
port: process.env.PORT || <%= prodPort %>
4950
script: '<%%= yeoman.dist %>/<%%= yeoman.server %>'
5051
}
5152
}

0 commit comments

Comments
 (0)