Skip to content

Commit 974c538

Browse files
author
Sly777
committed
Removed duplicated app.listen
1 parent c7712f3 commit 974c538

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/voyager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ exports.handler = function (context, argv) {
2525
app.use('/voyager', middleware({ endpointUrl: '/graphql' }))
2626

2727
const port = parseInt(argv.port) || 7000;
28-
app.listen(port);
2928
const listener = app.listen(port, () => {
3029
let host = listener.address().address
3130
if (host === '::') {

0 commit comments

Comments
 (0)