Commit a72fb96
authored
Update web preview docs to use 127.0.0.1 instead of 0.0.0.0 (#1178)
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](https://codegen.com/agent/trace/61566) • [🚫 Ban all
checks](https://codegen.com/agent/trace/61566/ban) • 👤 Initiated by
@kopekC • 💬 Initiated in
[#agi-test](https://thecodegen.slack.com/archives/C08DPPSL1CG/p1753463343125049?thread_ts=1753463343.125049&cid=C08DPPSL1CG)
• [About Codegen](https://codegen.com)
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>1 parent 3c14f40 commit a72fb96
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments