Skip to content

Conversation

codegen-sh[bot]
Copy link
Contributor

@codegen-sh codegen-sh bot commented Jul 25, 2025

Updates the web preview documentation to use 127.0.0.1 (localhost) instead of 0.0.0.0 for the host binding.

Changes Made

  • Updated configuration section to recommend 127.0.0.1 as the appropriate host
  • Changed Django example from 0.0.0.0:8000 to 127.0.0.1:3000
  • Updated Rails example from -b 0.0.0.0 to -b 127.0.0.1 -p 3000
  • Maintains the port 3000 requirement as specified in the warning section

This change ensures users bind their development servers to localhost rather than all interfaces, which is more secure and appropriate for local development.


💻 View my work🚫 Ban all checks • 👤 Initiated by @kopekC • 💬 Initiated in #agi-testAbout Codegen

- Changed host recommendation from 0.0.0.0 to 127.0.0.1 in configuration section
- Updated Django example to use 127.0.0.1:3000
- Updated Rails example to use 127.0.0.1 with explicit port 3000
- Maintains port 3000 requirement as specified in warning
@codegen-sh codegen-sh bot requested review from a team and codegen-team as code owners July 25, 2025 17:13
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

@kopekC kopekC merged commit a72fb96 into develop Jul 25, 2025
18 checks passed
@kopekC kopekC deleted the codegen-bot/update-web-preview-host-to-localhost-1753463587 branch July 25, 2025 17:16
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.

1 participant