Skip to content

Commit 396a645

Browse files
committed
fix port issue
1 parent 9a1e36a commit 396a645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/voyager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.handler = function (context, argv) {
2626

2727
const port = parseInt(argv.port) || 7000;
2828
app.listen(port);
29-
const listener = app.listen(() => {
29+
const listener = app.listen(port, () => {
3030
let host = listener.address().address
3131
if (host === '::') {
3232
host = 'localhost'

0 commit comments

Comments
 (0)