Commit a42c78e
chore(dev): gate Tailscale-tunnel allowedHosts behind VITE_TUNNEL
Make the real-device (iPad/iPhone) testing allowance a committed, opt-in dev
convenience instead of an uncommitted local edit. `server.allowedHosts:
['.ts.net']` now applies only when VITE_TUNNEL=1, so a normal `yarn dev` keeps
Vite's DNS-rebinding host check intact (verified: a .ts.net Host is blocked
without the flag). Update the ios-device-debug skill to start the dev server
with `VITE_TUNNEL=1 yarn dev` and drop the now-unneeded vite.config.ts revert
from teardown.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d770964 commit a42c78e
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | 97 | | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
0 commit comments