Skip to content

fix(convert): review-serve listens on loopback only - #16

Merged
ethanplusai merged 1 commit into
mainfrom
fix/review-serve-loopback
Oct 31, 2026
Merged

ethanplusai merged 1 commit into
mainfrom
fix/review-serve-loopback

Conversation

@ethanplusai

Copy link
Copy Markdown
Owner

Fixes #13.

review-serve.mjs called server.listen(port) with no host, so it listened on every network interface while printing localhost. Anyone on the same network could open the site under review. It now binds to 127.0.0.1, like the kit's other servers.

Verification

  • A new test confirms the server answers on 127.0.0.1 and refuses the machine's network address. It failed before the fix and passes after it. It skips on a machine with no non-loopback IPv4 address.
  • npm test: 846 passed, 0 failed.

🤖 Generated with Claude Code

@ethanplusai
ethanplusai merged commit 8beb1de into main Oct 31, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

review-serve listens on every network interface, though it prints localhost

1 participant