Skip to content

Commit eb6ebdb

Browse files
committed
fix(dev): use localhost for emited host in port mode
1 parent f57f229 commit eb6ebdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/runtime/entries/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ server.listen(listenAddress, () => {
3131
event: 'listen',
3232
address: typeof _address === 'string'
3333
? { socketPath: _address }
34-
: { host: _address.address, port: _address.port }
34+
: { host: 'localhost', port: _address.port }
3535
})
3636
})

0 commit comments

Comments
 (0)