Commit a91e550
committed
[Bug Fix] Allow non-localhost hosts in docs development env
Rails 8's Host Authorization middleware blocks any Host header outside
localhost/private IPs by default, so accessing the docs dev server
through a VM hostname or Tailscale domain (e.g. devmachine.cloud) gets
rejected with "Blocked hosts". Clear config.hosts in development since
this is a non-public dev-only environment.1 parent 139943a commit a91e550
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
0 commit comments