Skip to content

Commit 6adc851

Browse files
Update moss-live-labs/examples/travel-concierge/README.md
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent cd3b20b commit 6adc851

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • moss-live-labs/examples/travel-concierge

moss-live-labs/examples/travel-concierge/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ to recall them, and ask for a recommendation.
4242
For a public deploy, set server-only `APP_SECRET` in `web/.env.local`. Visitors enter
4343
that code once; the app stores an httpOnly gate cookie and then mints tokens. Leave it
4444
unset for open local demos. Do not use a `NEXT_PUBLIC_*` secret — anything shipped to
45-
the browser cannot protect `/api/token`. For per-IP unlock/token limits, set exactly one
46-
`TRUSTED_CLIENT_IP_HEADER` (`cf-connecting-ip`, `x-vercel-forwarded-for`, or a replaced
47-
`x-real-ip`) — do not rely on `X-Forwarded-For`. Otherwise limits share one global bucket.
45+
the browser cannot protect `/api/token`. For per-IP unlock/token limits, configure exactly one
46+
trusted header only when every request passes through an edge/proxy that overwrites it:
47+
`cf-connecting-ip`, `x-vercel-forwarded-for`, or `x-real-ip`. Do not rely on
48+
`X-Forwarded-For`. Otherwise limits share one global bucket.
4849
Prefer an edge rate limit in front of any public deployment as well.
4950

5051
## How it works

0 commit comments

Comments
 (0)