Skip to content

Commit 0532e83

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

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
@@ -17,7 +17,7 @@ process.argv.forEach((arg, index) => {
1717
PORT = process.argv[index + 1];
1818
}
1919

20-
if ((arg === '--h' || arg === '--host') && process.argv.length > index + 1) {
20+
if ((arg === '-h' || arg === '--host') && process.argv.length > index + 1) {
2121
HOST = process.argv[index + 1];
2222
}
2323
});

0 commit comments

Comments
 (0)