Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: allow Tailscale MagicDNS hosts in Vite dev server

[._.]/ Adam Eivy89ad0189128d
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 2fb97395a9..47962bedac 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -29,5 +29,6 @@ TBD
Dev machines that already ran migration 043 with the buggy reader-map prompts keep the bad copies in `data/prompts/stages/` — delete `story-builder-reader-map.md` and `story-builder-reader-map-refine.md` from that directory, then restart, and migration 043 will re-copy the fixed versions from `data.reference/`. Fresh installs are unaffected.
- Series detail page: when the Story Bible drawer is open, the Series Arc + Editorial Roadmap split and the inner text + 260px Themes panel split now respond to the actual content-area width instead of viewport width. Switched to Tailwind v4 container queries — Roadmap drops below Arc when the content area is < 1024px, and Themes stacks below the logline/summary column when the Arc card is < 672px, preventing the text column from being squeezed into an unreadable strip.
+- Vite dev server: allow `*.ts.net` hosts so `npm run dev` works when launched via Tailscale MagicDNS (previously rejected with `Blocked request. This host ("…ts.net") is not allowed`).
## Removed
diff --git a/client/vite.config.js b/client/vite.config.js
index ad6b122127..1fdafd6e2c 100644
--- a/client/vite.config.js
+++ b/client/vite.config.js
@@ -37,6 +37,7 @@ export default defineConfig(({ mode }) => {
host: '0.0.0.0',
port: 5554,
open: false,
+ allowedHosts: ['.ts.net', 'localhost'],
proxy: {
'/api': {
target: API_TARGET,