We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a82ed9 commit 0532e83Copy full SHA for 0532e83
bin/json-graphql-server.js
@@ -17,7 +17,7 @@ process.argv.forEach((arg, index) => {
17
PORT = process.argv[index + 1];
18
}
19
20
- if ((arg === '--h' || arg === '--host') && process.argv.length > index + 1) {
+ if ((arg === '-h' || arg === '--host') && process.argv.length > index + 1) {
21
HOST = process.argv[index + 1];
22
23
});
0 commit comments