docs: fix env vars, rewrite features to match actual product, scrub stale references
This commit is contained in:
@@ -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)
|
||||
: []
|
||||
|
||||
Reference in New Issue
Block a user