Skip to content

Commit 6408c24

Browse files
committed
feat: 🎸 dev servers listen on ipv4 and ipv6
1 parent a345b06 commit 6408c24

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: packages/cli/src/devServer.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export async function runDevServer({ context, merkurConfig, cliConfig }) {
176176
},
177177
});
178178
})
179-
.listen({ port, host: merkurConfig.constant.HOST }, () => {
179+
.listen({ port }, () => {
180180
logger.info(`Playground: ${chalk.green(`${protocol}//${host}`)}`);
181181
resolve(app);
182182
});

Diff for: packages/cli/src/websocket.mjs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export async function runSocketServer({ merkurConfig, context }) {
1616
try {
1717
const server = new WebSocketServer({
1818
port: merkurConfig.socketServer.port,
19-
host: merkurConfig.constant.HOST,
2019
});
2120

2221
server.on('connection', function connection(ws) {

0 commit comments

Comments
 (0)