Skip to content

Commit 289d52e

Browse files
authored
fix: listen on ipv6 (#12)
1 parent 867ebb9 commit 289d52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ async function start() {
149149
try {
150150
// eslint-disable-next-line no-console
151151
console.log(`Starting server http://localhost:${config.port} ...`);
152-
await server.listen({ port: config.port, host: '0.0.0.0' });
152+
await server.listen({ port: config.port, host: '::' });
153153
} catch (err) {
154154
server.log.error(err);
155155
process.exit(1);

0 commit comments

Comments
 (0)