Skip to content

Commit 9ada4df

Browse files
committed
fix: Use port and host from cli args
1 parent ceaa57e commit 9ada4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function cli({
5454
console.log(`Starting graphql-rss-parser v${version}`);
5555
const { url } = await startStandaloneServer(server, {
5656
context: async ({ req }) => ({ token: req.headers.token }),
57-
listen: { port: 4000 },
57+
listen: { host: args.host, port: args.port },
5858
});
5959
console.log(`Running on ${url}`);
6060
},

0 commit comments

Comments
 (0)