Skip to content

Commit a66d024

Browse files
Update bin/json-graphql-server.js
Co-authored-by: Jean-Baptiste Kaiser <[email protected]>
1 parent 0532e83 commit a66d024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/json-graphql-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var app = express();
1313

1414
process.argv.forEach((arg, index) => {
1515
// allow a custom port via CLI
16-
if ((arg === '--p' || arg === '--port') && process.argv.length > index + 1) {
16+
if ((arg === '-p' || arg === '--port') && process.argv.length > index + 1) {
1717
PORT = process.argv[index + 1];
1818
}
1919

0 commit comments

Comments
 (0)