docs: fix env vars, rewrite features to match actual product, scrub stale references

This commit is contained in:
outsourc-e
2026-03-16 14:12:18 -04:00
parent 7e715ed9a7
commit be30bd9a0f
3 changed files with 37 additions and 45 deletions

View File

@@ -207,9 +207,9 @@ const config = defineConfig(({ mode, command }) => {
}
// Allow access from Tailscale, LAN, or custom domains via env var
// e.g. CLAWSUITE_ALLOWED_HOSTS=my-server.tail1234.ts.net,192.168.1.50
const _allowedHosts: string[] | true = env.CLAWSUITE_ALLOWED_HOSTS?.trim()
? env.CLAWSUITE_ALLOWED_HOSTS.split(',')
// e.g. HERMES_ALLOWED_HOSTS=my-server.tail1234.ts.net,192.168.1.50
const _allowedHosts: string[] | true = (env.HERMES_ALLOWED_HOSTS || env.CLAWSUITE_ALLOWED_HOSTS)?.trim()
? (env.HERMES_ALLOWED_HOSTS || env.CLAWSUITE_ALLOWED_HOSTS)!.split(',')
.map((h) => h.trim())
.filter(Boolean)
: []