Skip to content

Commit d4b3be4

Browse files
authored
fix: gritty: port: logical OR operator for port assignment (close #19)
1 parent 1531405 commit d4b3be4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎bin/gritty.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const args = yargsParser(process.argv.slice(2), {
3333
version: 'v',
3434
},
3535
default: {
36-
'port': process.env.PORT | 1337,
36+
'port': process.env.PORT || 1337,
3737
'auto-restart': true,
3838
},
3939
});

0 commit comments

Comments
 (0)