Files
Understand-Anything/understand-anything-plugin
T
Lum1104 0a6bd10e6c fix(dashboard): allow configuring Vite host + allowedHosts for remote serving
Users serving the dashboard from a remote VM accessed via a domain hit Vite's
host check: "Blocked request. This host ("example.com") is not allowed." (#485).
The server config hardcoded host 127.0.0.1 and set no allowedHosts, so the only
workaround was hand-editing vite.config.ts.

Add two env vars, keeping the strict localhost-only default:
- UNDERSTAND_HOST overrides the bind address (e.g. 0.0.0.0)
- UNDERSTAND_ALLOWED_HOSTS is a comma-separated allowedHosts list; `all`/`true`/`*`
  disables the check entirely

Document both in the understand-dashboard skill. The one-time access token still
gates the data endpoints. Bump version to 2.8.2.
0a6bd10e6c ยท 2026-06-20 19:04:30 +08:00
History
..
2026-06-09 14:26:48 -07:00