Skip to content

Commit 2e30f7b

Browse files
committed
ensure listen on ipv6
1 parent 1e6bb9b commit 2e30f7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,6 @@ const server = createServer(async (req, res) => {
386386
res.end(JSON.stringify({ error: 'Not found' }));
387387
});
388388

389-
server.listen(PORT, () => {
390-
console.log(`project-claim-api listening on port ${PORT}`);
389+
server.listen(PORT, '::', () => {
390+
console.log(`project-claim-api listening on [::]:${PORT}`);
391391
});

0 commit comments

Comments
 (0)